Skip to content

Commit

Permalink
Third-party data file access #1099
Browse files Browse the repository at this point in the history
  • Loading branch information
myrix committed Dec 22, 2023
1 parent 06ab10b commit 429d9b2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion webpack/webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ base.plugins.push(
new HtmlWebpackPlugin({
template: path.resolve(__dirname, "../src/index.dev.html"),
favicon: path.resolve(__dirname, "../src/favicon.ico"),
filename: _.outputIndexPath
filename: _.outputIndexPath,
meta: {
"Content-Security-Policy": {
"http-equiv": "Content-Security-Policy",
"content": "upgrade-insecure-requests"
}
}
}),
new webpack.DefinePlugin({
"process.env.NODE_ENV": JSON.stringify("development"),
Expand Down

0 comments on commit 429d9b2

Please sign in to comment.