Skip to content

Commit

Permalink
Add redirect for complete link
Browse files Browse the repository at this point in the history
  • Loading branch information
JackMorganNZ committed Oct 7, 2020
1 parent a84df1e commit 260983e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"license": "",
"author": "UCCSER",
"scripts": {
"build": "parcel build src/index.njk --public-url /dt-puzzle-journey/",
"dev": "parcel src/index.njk",
"build": "parcel build src/index.njk src/complete/index.njk --public-url /dt-puzzle-journey/",
"dev": "parcel src/index.njk src/complete/index.njk",
"start": "npm run build && npm run dev",
"test": "echo \"Error: no test specified\" && exit 1",
"postinstall": "patch-package"
Expand Down
14 changes: 14 additions & 0 deletions src/complete/index.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="0; url=https://uccser.github.io/dt-puzzle-journey/?stage=outside-pa&content-guide">
<script type="text/javascript">
window.location.href = "https://uccser.github.io/dt-puzzle-journey/?stage=outside-pa&content-guide"
</script>
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, follow this <a href='https://uccser.github.io/dt-puzzle-journey/?stage=outside-pa&content-guide'>link to the completion page</a>.
</body>
</html>

0 comments on commit 260983e

Please sign in to comment.