mirror of
https://github.com/versia-pub/frontend.git
synced 2026-06-14 07:29:15 +02:00
feat: ✨ Add file uploads to composer
This commit is contained in:
parent
f91df20dc1
commit
d62d267c60
5 changed files with 179 additions and 5 deletions
|
|
@ -34,10 +34,11 @@ export default defineNuxtConfig({
|
|||
? "unsafe-none"
|
||||
: "require-corp",
|
||||
contentSecurityPolicy: {
|
||||
"img-src": ["'self'", "data:", "https:"],
|
||||
"img-src": ["'self'", "data:", "https:", "blob:"],
|
||||
"script-src": ["'nonce-{{nonce}}'", "'strict-dynamic'"],
|
||||
// Add https because of some browsers blocking form-action to 'self' if the page is from a redirect
|
||||
"form-action": ["'self'", "https:"],
|
||||
"media-src": ["'self'", "https:", "blob:"],
|
||||
},
|
||||
crossOriginResourcePolicy: "cross-origin",
|
||||
xFrameOptions: "DENY",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue