Skip to content

Commit ada49e0

Browse files
committed
chore(security): temporarily revert website/vercel.json changes
1 parent 7f1b7ad commit ada49e0

File tree

1 file changed

+3
-23
lines changed

1 file changed

+3
-23
lines changed

website/vercel.json

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,31 +7,11 @@
77
},
88
"headers": [
99
{
10-
"source": "/(.*)",
10+
"source": "/assets/(.*)",
1111
"headers": [
12-
{
13-
"key": "Strict-Transport-Security",
14-
"value": "max-age=63072000; includeSubDomains;"
15-
},
1612
{
1713
"key": "Cache-Control",
18-
"value": "no-cache, no-store, must-revalidate"
19-
},
20-
{
21-
"key": "X-Frame-Options",
22-
"value": "DENY"
23-
},
24-
{
25-
"key": "Access-Control-Allow-Credentials",
26-
"value": "false"
27-
},
28-
{
29-
"key": "Access-Control-Allow-Origin",
30-
"value": "https://nusmods.com"
31-
},
32-
{
33-
"key": "Content-Security-Policy",
34-
"value": "default-src 'self'; script-src 'report-sample' 'self' https://analytics.nusmods.com/piwik.js https://analytics.nusmods.com/matomo.js https://launchpad-wrapper.privacymanager.io/876583a8-81cb-4d63-9d57-50a52a0bd20a/launchpad-liveramp.js https://launchpad.privacymanager.io/latest/launchpad.bundle.js https://nusmods-prod.disqus.com/embed.js https://static.cloudflareinsights.com https://nusmods-prod.disqus.com https://browser.sentry-cdn.com 'sha256-wjWre/v0fBxYRe2XW1fiIH/Ip4o+sl/ZR9lQ6EA7C9M=' ; style-src 'report-sample' 'self' 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=' 'sha256-0S3Bm4u8TpM5Xs174JYbVD6nRLWgUc3hK01MDXVDTGc=' 'sha256-Bwqk4rufeXe1FIoaXZsktmncl+/EiOVhhM3qDw3dMyw=' 'sha256-k9Ql9KxE2q55Cwa0JUHHUg0QOBPtvjMnCCFK2yb/1ZA=' 'sha256-3QbC6ukBrWKUr9CA9uuyPEBix8bCjn5jMeDC0cfkR7o=' 'sha256-3QbC6ukBrWKUr9CA9uuyPEBix8bCjn5jMeDC0cfkR7o='; object-src 'none'; base-uri 'self'; connect-src 'self' https://analytics.nusmods.com https://api.data.gov.sg https://api.github.com https://api.nusmods.com https://nusmods-search.es.ap-southeast-1.aws.found.io:9243 https://sentry.io; font-src 'self'; frame-src 'self' https://disqus.com; img-src 'self' data: https://online.swagger.io https://a.tile.openstreetmap.org https://avatars.githubusercontent.com https://b.tile.openstreetmap.org https://c.tile.openstreetmap.org https://i.ytimg.com https://opencollective.com https://referrer.disqus.com https://www.gravatar.com https://c.disquscdn.com; manifest-src 'self'; media-src 'self'; report-uri https://csp-report.nusmods.com/report; worker-src 'self';"
14+
"value": "public, max-age=31536000, immutable"
3515
}
3616
]
3717
},
@@ -70,4 +50,4 @@
7050
"permanent": false
7151
}
7252
]
73-
}
53+
}

0 commit comments

Comments
 (0)