EdwinN1337
06/27/2022, 9:37 AMrp
06/27/2022, 9:41 AMEdwinN1337
06/27/2022, 9:47 AMjs
export const appInfo = {
appName: 'Lokalist Webshop',
apiDomain: FRONTEND_URL,
websiteDomain: FRONTEND_URL,
apiBasePath: '/api/auth',
websiteBasePath: '/auth',
}
error was pretty clear, sorry for disturbing 😦websiteDomain: process.env.VERCEL_URL,
Which i had before, but removed oopsrp
06/27/2022, 9:52 AMEdwinN1337
06/27/2022, 10:13 AMrp
06/27/2022, 10:14 AMEdwinN1337
06/27/2022, 10:15 AMcapacitor://localhost
android its http://localhost
our web version it's FRONTEND_URL
(the same i'm using on the backend)rp
06/27/2022, 10:33 AMEdwinN1337
06/27/2022, 10:49 AMrp
06/27/2022, 11:26 AMEdwinN1337
06/27/2022, 12:22 PMjs
export default function getCookieHandler(original: CookieHandlerInterface): CookieHandlerInterface {
return {
...original,
getCookie: async function () {
const cookies = await getCookiesFromStorage()
console.log({ cookies })
return cookies
},
setCookie: async function (cookieString: string) {
await setCookieToStorage(cookieString)
},
}
}
I didnt await the setCookieToStoragerp
06/27/2022, 12:22 PMEdwinN1337
06/27/2022, 12:22 PMrp
06/27/2022, 12:22 PMEdwinN1337
06/27/2022, 12:22 PMrp
06/27/2022, 12:27 PM