mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 01:44:13 +00:00
fix(journey): open the follower mail links under the public path prefix
The confirm and unsubscribe pages lived at /journey-follow/, which the client does not treat as a public path, so a reader without an account could be sent into the proxy re-auth flow. They now sit under /public/journey-follow/ beside the shared journey itself.
This commit is contained in:
@@ -22,8 +22,8 @@ export function followFailureOf(err: unknown): JourneyFollowState {
|
||||
}
|
||||
|
||||
/**
|
||||
* The page a follower's mail link opens (`/journey-follow/confirm?token=` or
|
||||
* `/journey-follow/unsubscribe?token=`): it posts the token once and says
|
||||
* The page a follower's mail link opens (`/public/journey-follow/confirm?token=` or
|
||||
* `/public/journey-follow/unsubscribe?token=`): it posts the token once and says
|
||||
* what came of it. The page does the write, never the link itself, so a mail
|
||||
* scanner that fetches the link changes nothing.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user