1
This commit is contained in:
@@ -66,8 +66,7 @@ func main() {
|
||||
}
|
||||
}()
|
||||
|
||||
router.StaticFile("/", "./public/index.html")
|
||||
router.StaticFile("/favicon.ico", "./public/favicon.ico")
|
||||
router.Static("/", "./public")
|
||||
router.NoRoute(handler)
|
||||
|
||||
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 {
|
||||
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);
|
||||
font-family: 'Misans', Arial, sans-serif;
|
||||
padding: 30px;
|
||||
@@ -98,7 +103,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-size: 1rem;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
pre {
|
||||
@@ -556,4 +561,4 @@
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
Reference in New Issue
Block a user