1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-03-29 21:21:15 +02:00

Server: Fixed Stripe portal page redirection

This commit is contained in:
Laurent Cozic 2021-10-27 16:39:45 +01:00
parent f1c4d35ef3
commit 9ba90b551a

View File

@ -389,7 +389,7 @@ const getHandlers: Record<string, StripeRouteHandler> = {
return `
<html>
<head>
<meta http-equiv = "refresh" content = "1; url = ${billingPortalSession.url};" />
<meta http-equiv = "refresh" content = "1; url = ${billingPortalSession.url}" />
<script>setTimeout(() => { window.location.href = ${JSON.stringify(billingPortalSession.url)}; }, 2000)</script>
</head>
<body>