We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 564c62f commit 093510fCopy full SHA for 093510f
drupal/web/themes/react_example_theme/webpack.config.js
@@ -51,10 +51,10 @@ const config = {
51
writeToDisk: true,
52
},
53
// Settings for http-proxy-middleware.
54
- proxy: {
55
- '/': {
+ proxy: [
+ {
56
index: '',
57
- context: () => true,
+ context: ['/'],
58
target: PROXY,
59
publicPath: PUBLIC_PATH,
60
secure: false,
@@ -64,7 +64,7 @@ const config = {
64
changeOrigin: true,
65
xfwd: true
66
}
67
- }
+ ]
68
69
};
70
0 commit comments