Skip to content

Commit

Permalink
Fiddle reverse proxy local (#3829)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesDoberer authored Jul 24, 2024
1 parent 3fa23f4 commit 8ea83c2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions website/fiddle/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,14 @@ module.exports = {
devtool: prod ? false : 'source-map',
stats: {
errorDetails: true
},
devServer: {
proxy: {
'/luigi-cdn': {
target: 'https://www.unpkg.com',
changeOrigin: true,
pathRewrite: { '^/luigi-cdn': '/@luigi-project' }
}
}
}
};

0 comments on commit 8ea83c2

Please sign in to comment.