Skip to content

Commit

Permalink
Update webpack-dev-server proxy config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgibson committed Jun 4, 2024
1 parent 92caf59 commit a778834
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,12 @@ module.exports = {
devMiddleware: {
index: false, // specify to enable root proxy'ing
},
proxy: {
context: () => true,
target: "http://0.0.0.0:8080",
},
proxy: [
{
context: () => true,
target: "http://0.0.0.0:8080",
}
],
watchFiles: ["src/**/*.js", "src/**/*.scss", "birdbox/**/*.html"],
client: {
logging: "error",
Expand Down

0 comments on commit a778834

Please sign in to comment.