Update unsubscribe URL format to use path-based token instead of query parameter

This commit is contained in:
MartinBraquet
2026-04-09 11:13:48 +02:00
parent eb3455b7c3
commit ff273efa44

View File

@@ -34,5 +34,5 @@ export async function createUnsubscribeToken(
* Get the unsubscribe URL for a token
*/
export function getUnsubscribeUrlOneClick(token: string): string {
return `https://${PROD_CONFIG.backendDomain}/unsubscribe?token=${token}`
return `https://${PROD_CONFIG.backendDomain}/unsubscribe/${token}`
}