Closed
Description
Description
I want to move from v2 to v3, but I don't know how to enable HTML5 mode like in Static middleware.
Checklist
- Dependencies installed
- No typos
- Searched existing issues and docs
Expected behaviour
Bring back Static middleware please
Actual behaviour
No HTML5 mode with AngularJS. Not Found when reload.
Steps to reproduce
e.Static("/", "public")
Working code to debug
e.Use(middleware.StaticWithConfig(middleware.StaticConfig{
Root: "public",
Index: "index.html",
HTML5: true,
Browse: false,
}))