mirror of
https://github.com/kataras/iris.git
synced 2025-12-20 03:17:04 +00:00
change the JS MIME to text/javascript instead of application/javascript as https://github.com/golang/go/issues/32351
Former-commit-id: 761be7901fff65ef0ca6e3ea4339ff59f569cf75
This commit is contained in:
@@ -174,7 +174,7 @@ func (h *routerHandler) Build(provider RoutesProvider) error {
|
||||
defer golog.SetTimeFormat(bckpTimeFormat)
|
||||
golog.SetTimeFormat("")
|
||||
|
||||
for _, method := range AllMethods {
|
||||
for _, method := range AllMethods { // TODO: MethodNone "NONE" with an (offline) status on r.Trace.
|
||||
methodRoutes := collect(method)
|
||||
for _, r := range methodRoutes {
|
||||
golog.Println(r.Trace())
|
||||
|
||||
Reference in New Issue
Block a user