Dev/golinks routing #87
No reviewers
Labels
No labels
accessibility
api
auth.js
backend
copy
database
defect
dependencies
design
discussion
documentation
duplicate
enhancement
epic
feature
front-end
good first issue
help wanted
invalid
next.js
noscript
on hold
operations
optimization
postgresql
prisma
prototype
question
react
spike
stale
story
tailwind
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
SSE/WebsiteTheSSEquel!87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "dev/golinks-routing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented go links routing behavior.
Added nextjs middleware to check go link requests, fetch the destination URL from a test data store, verifies that the link is valid and goes to a live site, and redirects to it.
If any of those checks fail, the middleware passes the request forwards (which currently goes nowhere since this is the only middleware function.
You can test the behavior by changing the url to /go/google or /go/next or /go/agile (the three test links I added).