Skip to content

Commit

Permalink
feedbackRedirect (#353)
Browse files Browse the repository at this point in the history
- **feat(feedback): add redirect**


## PR Checklist

- [ ] Addresses an existing open issue: fixes #000
- [ ] That issue was marked as [`status: accepting
prs`](https://github.com/JoshuaKGoldberg/boston-ts-website/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22)
- [X] Steps in
[CONTRIBUTING.md](https://github.com/JoshuaKGoldberg/boston-ts-website/blob/main/.github/CONTRIBUTING.md)
were taken

## Overview


This makes it so we can change where the form is hosted easily. I make
it not permanent. The reason for `permanent: false` is that it changes
the status code to 307 from 308. 308 status code gets SEO ranking and
probably (not documented) some caching. Since the URL is subject to
change, we do not want to SEO rank the google form.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308
🐢
  • Loading branch information
xav-ie authored Nov 19, 2024
1 parent 2b466ac commit d848546
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"destination": "https://opencollective.com/boston-ts-club",
"permanent": true,
"source": "/donate"
},
{
"destination": "https://docs.google.com/forms/d/e/1FAIpQLSevxqyXjEE2AQ8C7xxkmoiiasr5ONIvPyAl8ad-MseNZ2ZBxA/viewform",
"permanent": false,
"source": "/feedback"
}
]
}

0 comments on commit d848546

Please sign in to comment.