Séparer routes statiques et html

Déplacer définition de /static/index.css vers section commentaire
`//Static Routes`
This commit is contained in:
Victor Lacasse-Beaudoin 2023-03-21 20:26:39 -04:00
parent aab1dd5a62
commit 999d36bc8b

View file

@ -43,10 +43,13 @@ func Execute() {
e.GET("/v1", handleV1)
// Static Routes
e.GET("/static/index.css", handleStaticCSSIndex)
// HTML Routes
e.GET("/", handleIndex)
e.GET("/static/index.css", handleStaticCSSIndex)
e.Logger.Fatal(e.Start(":8080"))
}