mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "DEV: Disable ACE editor worker blobs"
This reverts commit d5463d2a4d.
With S3 assets, CORS prevents loading worker assets directly.
This commit is contained in:
@@ -33,9 +33,11 @@ describe ContentSecurityPolicy do
|
||||
end
|
||||
|
||||
describe 'worker-src' do
|
||||
it 'always has script srcs' do
|
||||
it 'has expected values' do
|
||||
worker_srcs = parse(policy)['worker-src']
|
||||
expect(worker_srcs).to eq(%w[
|
||||
'self'
|
||||
blob:
|
||||
http://test.localhost/assets/
|
||||
http://test.localhost/brotli_asset/
|
||||
http://test.localhost/javascripts/
|
||||
|
||||
Reference in New Issue
Block a user