2026-03-27 12:28:30 +01:00
|
|
|
{
|
2026-03-27 13:34:21 +01:00
|
|
|
"rewrites": [
|
2026-04-10 10:54:50 +02:00
|
|
|
{ "source": "/api/dropbox-proxy", "destination": "api/dropbox-proxy.js" },
|
2026-05-14 17:17:10 +02:00
|
|
|
{ "source": "/api/dropbox-sync", "destination": "api/dropbox-sync.js" },
|
|
|
|
|
{ "source": "/api/bc-proxy", "destination": "api/bc-proxy.js" },
|
2026-05-15 08:06:54 +02:00
|
|
|
{ "source": "/api/bc-export", "destination": "api/bc-export.js" },
|
|
|
|
|
{ "source": "/api/backup", "destination": "api/backup.js" }
|
|
|
|
|
],
|
|
|
|
|
"crons": [
|
|
|
|
|
{ "path": "/api/backup", "schedule": "0 0,6,12,18 * * *" }
|
2026-04-23 10:04:33 +02:00
|
|
|
],
|
|
|
|
|
"headers": [
|
|
|
|
|
{
|
|
|
|
|
"source": "/(.*)",
|
|
|
|
|
"headers": [
|
|
|
|
|
{
|
|
|
|
|
"key": "X-Content-Type-Options",
|
|
|
|
|
"value": "nosniff"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "X-Frame-Options",
|
|
|
|
|
"value": "DENY"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "X-XSS-Protection",
|
|
|
|
|
"value": "1; mode=block"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "Referrer-Policy",
|
|
|
|
|
"value": "strict-origin-when-cross-origin"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "Permissions-Policy",
|
|
|
|
|
"value": "camera=(), microphone=(), geolocation=()"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "Strict-Transport-Security",
|
|
|
|
|
"value": "max-age=63072000; includeSubDomains; preload"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "Content-Security-Policy",
|
2026-04-24 13:31:49 +02:00
|
|
|
"value": "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob:; connect-src 'self' https://hwithddwaapyhnfwcesj.supabase.co https://api.dropboxapi.com https://www.dropbox.com https://generativelanguage.googleapis.com; font-src 'self'; frame-ancestors 'none';"
|
2026-04-23 10:04:33 +02:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2026-03-27 13:34:21 +01:00
|
|
|
]
|
2026-03-27 12:28:30 +01:00
|
|
|
}
|