Merge pull request 'Séparer routes statiques et html' (#24) from fix/reorganiser-routes into main

Reviewed-on: #24
This commit is contained in:
Victor Lacasse-Beaudoin 2023-03-21 19:28:23 -05:00
commit 7caa6c2f14

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"))
} }