1
This commit is contained in:
@@ -66,8 +66,7 @@ func main() {
|
|||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
router.StaticFile("/", "./public/index.html")
|
router.Static("/", "./public")
|
||||||
router.StaticFile("/favicon.ico", "./public/favicon.ico")
|
|
||||||
router.NoRoute(handler)
|
router.NoRoute(handler)
|
||||||
|
|
||||||
err := router.Run(fmt.Sprintf("%s:%d", host, port))
|
err := router.Run(fmt.Sprintf("%s:%d", host, port))
|
||||||
|
|||||||
1
ghproxy/public/bj.svg
Normal file
1
ghproxy/public/bj.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 154 KiB |
@@ -30,6 +30,11 @@
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--color);
|
background-color: var(--color);
|
||||||
|
background-image: url('./bj.svg');
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
|
background-attachment: fixed;
|
||||||
color: var(--fontcolor);
|
color: var(--fontcolor);
|
||||||
font-family: 'Misans', Arial, sans-serif;
|
font-family: 'Misans', Arial, sans-serif;
|
||||||
padding: 30px;
|
padding: 30px;
|
||||||
@@ -98,7 +103,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 1rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
@@ -556,4 +561,4 @@
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user