Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEBUI-1446: Manage CSP headers without the insecure unsafe-inline dir… #2367

Open
wants to merge 1 commit into
base: maintenance-3.0.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions addons/nuxeo-spreadsheet/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const { resolve } = require('path');
const { ProvidePlugin } = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const htmlWebpackInjectAttributesPlugin = require('html-webpack-inject-attributes-plugin');

module.exports = {
entry: {
Expand All @@ -17,9 +16,5 @@ module.exports = {
chunks: ['spreadsheet.app'],
template: resolve(__dirname, 'app', 'index.html'),
}),
/* eslint-disable-next-line new-cap */
new htmlWebpackInjectAttributesPlugin({
nonce: 'dummy',
}),
],
};
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"expose-loader": "^1.0.1",
"glob": "^7.1.3",
"html-loader": "^1.3.2",
"html-webpack-inject-attributes-plugin": "^1.0.6",
"html-webpack-plugin": "^5.6.0",
"http-server": "^0.11.1",
"husky": "^4.2.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ limitations under the License.
</div>
</nuxeo-app>

<script src="vendor/webcomponentsjs/webcomponents-loader.js" nonce="dummy"></script>
<script src="vendor/webcomponentsjs/webcomponents-loader.js"></script>

<script src="vendor/html-imports/html-imports.min.js" nonce="dummy"></script>
<script src="vendor/html-imports/html-imports.min.js"></script>

<script src="vendor/web-animations/web-animations-next-lite.min.js" nonce="dummy"></script>
<script src="vendor/web-animations/web-animations-next-lite.min.js"></script>

<script src="config.jsp" nonce="dummy"></script>
<script src="config.jsp"></script>

<script src="main.bundle.js" nonce="dummy"></script>
<script src="main.bundle.js"></script>

</body>

Expand Down
Loading