Skip to content

Commit 12b24f3

Browse files
Merge pull request #6591 from nursoltan-s/veterans-http-headers
Veterans http headers
2 parents 7cc8a59 + 15b24c2 commit 12b24f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ async function onExpressJsSetup(server) {
138138
res.header('Permissions-Policy', 'geolocation=(), microphone=(), camera=()');
139139

140140
if (req.url.startsWith('/__community__/veterans') || req.hostname === 'veterans.topcoder.com' || req.url.startsWith('/__community__/tco') || tcoPattern.test(req.hostname)) {
141+
res.header('Cache-Control', 'no-cache');
141142
res.header(
142143
'Content-Security-Policy',
143144
"default-src 'self';"

0 commit comments

Comments
 (0)