From b70b12e417364ee1c5c17f6ab34f86152a6423e4 Mon Sep 17 00:00:00 2001 From: Ax333l Date: Tue, 27 Dec 2022 22:01:21 +0100 Subject: [PATCH] feat: headers (#52) --- static/_headers | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 static/_headers diff --git a/static/_headers b/static/_headers new file mode 100644 index 0000000..8ed9c85 --- /dev/null +++ b/static/_headers @@ -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 + +