Skip to content

Commit b876461

Browse files
committed
fix:(welcome page on sveltekitfire)
1 parent 75b3d2f commit b876461

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/sveltefirebase-com/src/lib/client/firebase.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const addSubscription = async (price: string, uid: string) => {
132132
mode: 'payment',
133133
price,
134134
allow_promotion_codes: true,
135-
success_url: `${window.location.href}/welcome`,
135+
success_url: `${window.location.origin}/welcome`,
136136
cancel_url: window.location.href
137137
});
138138
};

‎apps/sveltefirebase-com/src/routes/welcome/+page.svelte‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
class="relative flex flex-col p-2 pt-20 text-white md:items-center md:text-center overflow-x-clip"
44
>
55
<a
6-
href="https://codingcat.dev/courses"
6+
href="https://codingcat.dev/course/sveltekit-firebase"
77
class="flex flex-col items-center card variant-filled-primary z-10 bg-opacity-100"
88
>
99
<h1

0 commit comments

Comments
 (0)