diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2021-01-30 16:55:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 10:55:53 +0200 |
commit | 5e20fd6dbf52ede60ed9ac7944db0d3f6769cf86 (patch) | |
tree | 519259f05f7e7fc4dd1df4da521e000ce469567b /routers/routes/web.go | |
parent | 0e0424c8ecaf6fa3cdd1fcfc154f188014c63dd8 (diff) | |
download | gitea-5e20fd6dbf52ede60ed9ac7944db0d3f6769cf86.tar.gz gitea-5e20fd6dbf52ede60ed9ac7944db0d3f6769cf86.zip |
Move middlewares to web/middleware (#14480)
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'routers/routes/web.go')
-rw-r--r-- | routers/routes/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/routes/web.go b/routers/routes/web.go index 03555e3d54..f2b68aa10a 100644 --- a/routers/routes/web.go +++ b/routers/routes/web.go @@ -247,7 +247,7 @@ func RegisterRoutes(m *web.Route) { } } - // FIXME: not all routes need go through same middlewares. + // FIXME: not all routes need go through same middleware. // Especially some AJAX requests, we can reduce middleware number to improve performance. // Routers. // for health check |