-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
If I have a proxy set up for /
, I would expect it to take all unrecognised requests. However, the proxy has precedence over contentBase
, so my requests are going to the proxy, which serves a 404 page.
Is this the intended behaviour?
webpack-dev-server/lib/Server.js
Lines 354 to 355 in 5a7f26b
if (options.proxy) { defaultFeatures.push('proxy', 'middleware'); } | |
if (contentBase !== false) { defaultFeatures.push('contentBaseFiles'); } |
Metadata
Metadata
Assignees
Labels
No labels