add js and css files
This commit is contained in:
parent
2d6f19580c
commit
51555f4d21
|
@ -8,6 +8,7 @@ import (
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
e := echo.New()
|
e := echo.New()
|
||||||
|
e.Static("/", "static")
|
||||||
e.GET("/", func(c echo.Context) error {
|
e.GET("/", func(c echo.Context) error {
|
||||||
return c.String(http.StatusOK, "Hello, World!")
|
return c.String(http.StatusOK, "Hello, World!")
|
||||||
})
|
})
|
||||||
|
|
|
@ -133,6 +133,7 @@
|
||||||
<footer id="bottom">
|
<footer id="bottom">
|
||||||
<p>sanic mpd web ui - by XenGi and coon © 2023</p>
|
<p>sanic mpd web ui - by XenGi and coon © 2023</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
<script src="index.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
0
static/index.js
Normal file
0
static/index.js
Normal file
0
static/style.css
Normal file
0
static/style.css
Normal file
Loading…
Reference in a new issue