Skip to content

Commit

Permalink
Update router.js
Browse files Browse the repository at this point in the history
  • Loading branch information
OllieJC authored Nov 7, 2023
1 parent aad6986 commit 3c17c84
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions cdn/functions/router/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,8 @@ function handler(event) {
return redirect("https://docs.google.com/forms/d/e/1FAIpQLSeaVg5VAiJGTCHOSYzZ0R66LrwZZVoSjPEMb-GT-_ue4G1ohQ/viewform");
}

if (uri.match(/^\/gccc$/)) {
return redirect("https://www.gov.uk/government/publications/government-cyber-security-strategy-2022-to-2030/government-cyber-security-strategy-2022-to-2030-html#pillar-2-defend-as-one");
}

if (uri.match(/^\/gccc-feedback$/)) {
return redirect("https://docs.google.com/forms/d/e/1FAIpQLSdsiBksGlxz6KUXKovhZhOvRhV_eGs60aPeh_DieVwiCpizww/viewform");
if (uri.match(/^\/(gccc|gc3)$/)) {
return redirect("https://gc3.security.gov.uk");
}

if (uri.match(/^\/github$/)) {
Expand Down

0 comments on commit 3c17c84

Please sign in to comment.