Skip to content

Commit 9e3ea82

Browse files
jonocrbuddhajjigaexkevinparkwilliamdyoonMadinventorZero
committed
Added proxy for sandbox styles managment
Co-authored-by: buddhajjigae <[email protected]> Co-authored-by: xkevinpark <[email protected]> Co-authored-by: williamdyoon <[email protected]> Co-authored-by: MadinventorZero <[email protected]>
1 parent 88cc96b commit 9e3ea82

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

webpack.development.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ module.exports = merge(base, {
2626
watchOptions: {
2727
ignored: /node_modules/ // Ignore this path, probably not needed since we define contentBase above
2828
},
29+
proxy: {
30+
'/demoRender': {
31+
target: 'http://localhost:5000/'
32+
},
33+
'/user-styles': {
34+
target: 'http://localhost:5000/'
35+
},
36+
},
2937
// https: true
3038
},
3139
plugins: [
@@ -67,5 +75,5 @@ module.exports = merge(base, {
6775
// // do not allow worker scripts
6876
// 'worker-src': ["'none'"]
6977
// })
70-
]
78+
],
7179
});

0 commit comments

Comments
 (0)