diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-04-26 13:47:21 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-05-01 15:15:10 -0500 |
commit | 996e5d79dfefac5dd5cacbfdd08c443f007f4492 (patch) | |
tree | 98da12a35c4c4a21c7c578696a608d962cf69730 /config | |
parent | f65a1da09353b605acbf349a2d3d024b4abef38c (diff) | |
download | gitlab-ce-996e5d79dfefac5dd5cacbfdd08c443f007f4492.tar.gz |
move dev server middleware to new namespace
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/static_files.rb | 2 |
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 |