feat: allow https as frame-src (#2468)

This commit is contained in:
Ayo Ayco 2023-11-12 07:42:02 +01:00 committed by GitHub
parent dab0502319
commit c55545612e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -238,6 +238,7 @@ export default defineNuxtConfig({
'font-src': ['\'self\''], 'font-src': ['\'self\''],
'form-action': ['\'none\''], 'form-action': ['\'none\''],
'frame-ancestors': ['\'none\''], 'frame-ancestors': ['\'none\''],
'frame-src': ['https:'],
'img-src': ['\'self\'', 'https:', 'http:', 'data:', 'blob:'], 'img-src': ['\'self\'', 'https:', 'http:', 'data:', 'blob:'],
'manifest-src': ['\'self\''], 'manifest-src': ['\'self\''],
'media-src': ['\'self\'', 'https:', 'http:'], 'media-src': ['\'self\'', 'https:', 'http:'],