mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-08 12:02:56 +02:00
Refactor template render (#36438)
This commit is contained in:
1 parent
47717d4435
commit
9de659437e
31 files changed
+475
-459
No files matched your search
@@ -36,7 +36,7 @@ func FileHandlerFunc() http.HandlerFunc {
|
||||
resp.WriteHeader(http.StatusMethodNotAllowed)
|
||||
return
|
||||
}
|
||||
handleRequest(resp, req, assetFS, req.URL.Path)
|
||||
handleRequest(resp, req, http.FS(assetFS), req.URL.Path)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user