Add contents of public
as forbidden top-level routes
This commit is contained in:
parent
1dcf799c76
commit
bf114b3111
1 changed files with 10 additions and 0 deletions
|
@ -14,14 +14,23 @@ module Gitlab
|
|||
TOP_LEVEL_ROUTES = %w[
|
||||
-
|
||||
.well-known
|
||||
404.html
|
||||
422.html
|
||||
500.html
|
||||
502.html
|
||||
503.html
|
||||
abuse_reports
|
||||
admin
|
||||
api
|
||||
apple-touch-icon-precomposed.png
|
||||
apple-touch-icon.png
|
||||
assets
|
||||
autocomplete
|
||||
ci
|
||||
dashboard
|
||||
deploy.html
|
||||
explore
|
||||
favicon.ico
|
||||
files
|
||||
groups
|
||||
health_check
|
||||
|
@ -39,6 +48,7 @@ module Gitlab
|
|||
s
|
||||
search
|
||||
sent_notifications
|
||||
slash-command-logo.png
|
||||
snippets
|
||||
u
|
||||
unicorn_test
|
||||
|
|
Loading…
Reference in a new issue