We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d3374d commit 7b1cab3Copy full SHA for 7b1cab3
src/pages/auth/apple-music.tsx
@@ -36,7 +36,10 @@ const Login: NextPage<SSRProps> = () => {
36
const music = MusicKit.getInstance();
37
const MUT = await music.authorize();
38
39
- router.push(
+ // // eslint-disable-next-line no-promise-executor-return
40
+ // await new Promise((resolve) => setTimeout(resolve, 500));
41
+
42
+ window.location.replace(
43
api.http.resolveUrl(
44
'/auth/APPLEMUSIC/callback/music',
45
true,
0 commit comments