mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Merge pull request #7105 from overleaf/jpa-static-no-csp
[web] remove CSP header from static assets GitOrigin-RevId: 2f12974f490ff22796ed74c38a466fe4649877c1
This commit is contained in:
@@ -3,7 +3,6 @@ const merge = require('webpack-merge')
|
||||
const MiniCssExtractPlugin = require('mini-css-extract-plugin')
|
||||
|
||||
const base = require('./webpack.config')
|
||||
const { buildDefaultPolicy } = require('./app/src/infrastructure/CSP')
|
||||
|
||||
module.exports = merge(base, {
|
||||
mode: 'development',
|
||||
@@ -31,10 +30,6 @@ module.exports = merge(base, {
|
||||
port: 3808,
|
||||
public: 'www.dev-overleaf.com:443',
|
||||
|
||||
headers: {
|
||||
'Content-Security-Policy': buildDefaultPolicy(),
|
||||
},
|
||||
|
||||
// Customise output to the (node) console
|
||||
stats: {
|
||||
colors: true, // Enable some coloured highlighting
|
||||
|
||||
Reference in New Issue
Block a user