Server static files.

This commit is contained in:
CronyAkatsuki 2023-12-19 20:50:26 +01:00
parent 40fdbfb6fd
commit ae239da1e6

View File

@ -17,6 +17,8 @@ func main() {
e.Renderer = t e.Renderer = t
e.Static("/", "static")
e.GET("/", Index) e.GET("/", Index)
e.Logger.Fatal(e.Start(":1323")) e.Logger.Fatal(e.Start(":1323"))