Stack of changes to get gin, scs, nosurf running.
This commit is contained in:
10
internal/http/routes/home.go
Normal file
10
internal/http/routes/home.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"synlotto-website/internal/handlers"
|
||||
"synlotto-website/internal/platform/bootstrap"
|
||||
)
|
||||
|
||||
func RegisterHomeRoutes(app *bootstrap.App) {
|
||||
app.Router.GET("/", handlers.Home(app))
|
||||
}
|
||||
Reference in New Issue
Block a user