Dev/golinks routing #87

Merged
2nPlusOne merged 3 commits from dev/golinks-routing into main 2023-11-12 06:06:13 +00:00
2nPlusOne commented 2023-11-10 05:54:05 +00:00 (Migrated from github.com)

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).

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).
raynardmiot (Migrated from github.com) reviewed 2023-11-10 05:54:05 +00:00
baillie28 (Migrated from github.com) approved these changes 2023-11-11 21:53:24 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SSE/WebsiteTheSSEquel!87
No description provided.