feat: headers (#52)

This commit is contained in:
Ax333l 2022-12-27 22:01:21 +01:00 committed by GitHub
parent f0f502afc6
commit b70b12e417
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
static/_headers Normal file
View File

@ -0,0 +1,12 @@
/*
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'self' *.revanced.app; img-src 'self' *.revanced.app avatars.githubusercontent.com; font-src 'self' *.revanced.app fonts.googleapis.com fonts.gstatic.com; style-src 'self' 'unsafe-inline' *.revanced.app fonts.googleapis.com fonts.gstatic.com; script-src 'self' 'unsafe-inline';
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
Cache-Control: public, max-age=604800, stale-while-revalidate=86400, stale-if-error=259200
/_app/immutable
Cache-Control: public, max-age=2419200, stale-while-revalidate=345600, stale-if-error=1036800