Your music, beautifully tracked. All yours. (coming soon) teal.fm
teal-fm atproto

more checks

authored by

Natalie and committed by
Natalie B.
91a024e6 ecd92f61

+2 -1
+1 -1
apps/amethyst/lib/atp/oauth.tsx
··· 22 const isWeb = Platform.OS === "web"; 23 const u = new URL(baseUrl); 24 let hostname = u.hostname; 25 - if (hostname == "localhost") { 26 hostname = "127.0.0.1"; 27 } 28 let redirect = `${u.protocol}//${hostname}`;
··· 22 const isWeb = Platform.OS === "web"; 23 const u = new URL(baseUrl); 24 let hostname = u.hostname; 25 + if (hostname === "localhost") { 26 hostname = "127.0.0.1"; 27 } 28 let redirect = `${u.protocol}//${hostname}`;
+1
apps/amethyst/stores/authenticationSlice.tsx
··· 36 ) => { 37 // check if we have CF_PAGES_URL set. if not, use localhost 38 const baseUrl = process.env.CF_PAGES_URL || "http://localhost:8081"; 39 const initialAuth = createOAuthClient(baseUrl); 40 41 console.log("Auth client created!");
··· 36 ) => { 37 // check if we have CF_PAGES_URL set. if not, use localhost 38 const baseUrl = process.env.CF_PAGES_URL || "http://localhost:8081"; 39 + console.log("Using base URL:", baseUrl); 40 const initialAuth = createOAuthClient(baseUrl); 41 42 console.log("Auth client created!");