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 8, 2024
1 parent 7f4cfd1 commit d29fc7b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cdn/functions/router/router.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ function handler(event) {
return redirect("https://cddo.blog.gov.uk/");
}

if (uri.match(/^\/okrs/)) {
return redirect("https://script.google.com/a/macros/digital.cabinet-office.gov.uk/s/AKfycbyzY-qaFeokMppwGHQJaY2EFi81LocBog9CnWOv9swIdMGrVHmrfXku9wI3bwXgEwY/exec");
}

if (uri.match(/^\/about/)) {
return redirect("https://www.gov.uk/government/organisations/central-digital-and-data-office/about");
}
Expand Down

0 comments on commit d29fc7b

Please sign in to comment.