Séparer routes statiques et html #24

Merged
vlbeaudoin merged 1 commit from fix/reorganiser-routes into main 2023-03-21 20:28:23 -04:00
Showing only changes of commit 999d36bc8b - Show all commits

View file

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