summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-04-26 13:47:21 -0500
committerMike Greiling <mike@pixelcog.com>2018-05-01 15:15:10 -0500
commit996e5d79dfefac5dd5cacbfdd08c443f007f4492 (patch)
tree98da12a35c4c4a21c7c578696a608d962cf69730 /config
parentf65a1da09353b605acbf349a2d3d024b4abef38c (diff)
downloadgitlab-ce-996e5d79dfefac5dd5cacbfdd08c443f007f4492.tar.gz
move dev server middleware to new namespace
Diffstat (limited to 'config')
-rw-r--r--config/initializers/static_files.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/static_files.rb b/config/initializers/static_files.rb
index d3a7a2b9f8b..6c28686e69a 100644
--- a/config/initializers/static_files.rb
+++ b/config/initializers/static_files.rb
@@ -34,7 +34,7 @@ if app.config.serve_static_files
)
app.config.middleware.insert_before(
Gitlab::Middleware::Static,
- Gitlab::Middleware::WebpackProxy,
+ Gitlab::Webpack::DevServerMiddleware,
proxy_path: app.config.webpack.public_path,
proxy_host: dev_server.host,
proxy_port: dev_server.port