Merge pull request 'Séparer routes statiques et html' (#24) from fix/reorganiser-routes into main
Reviewed-on: #24
This commit is contained in:
commit
7caa6c2f14
1 changed files with 4 additions and 1 deletions
|
@ -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"))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue