diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-04-26 21:47:21 +0300 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-05-01 23:15:10 +0300 |
commit | 996e5d79dfefac5dd5cacbfdd08c443f007f4492 (patch) | |
tree | 98da12a35c4c4a21c7c578696a608d962cf69730 /config | |
parent | f65a1da09353b605acbf349a2d3d024b4abef38c (diff) |
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 |