Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/middleware/static.rb')
-rw-r--r--lib/gitlab/middleware/static.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/gitlab/middleware/static.rb b/lib/gitlab/middleware/static.rb
deleted file mode 100644
index 85ffa8aca68..00000000000
--- a/lib/gitlab/middleware/static.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-module Gitlab
- module Middleware
- class Static < ActionDispatch::Static
- UPLOADS_REGEX = /\A\/uploads(\/|\z)/.freeze
-
- def call(env)
- return @app.call(env) if env['PATH_INFO'] =~ UPLOADS_REGEX
-
- super
- end
- end
- end
-end