mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:41:17 +08:00
DEV: enable cors to all cdn get requests from workbox. (#10685)
Now all external requests from the service worker will be in CORS mode without credentials.
This commit is contained in:
@ -135,6 +135,10 @@ def dependencies
|
||||
destination: 'workbox',
|
||||
public: true,
|
||||
skip_versioning: true
|
||||
}, {
|
||||
source: 'workbox-cacheable-response/build/.',
|
||||
destination: 'workbox',
|
||||
public: true
|
||||
}, {
|
||||
source: '@popperjs/core/dist/umd/popper.js'
|
||||
}, {
|
||||
|
Reference in New Issue
Block a user