edwinn1337
06/27/2022, 9:37 AMrp_st
06/27/2022, 9:41 AMrp_st
06/27/2022, 9:41 AMrp_st
06/27/2022, 9:44 AMrp_st
06/27/2022, 9:44 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 😦edwinn1337
06/27/2022, 9:49 AMwebsiteDomain: process.env.VERCEL_URL,
Which i had before, but removed oopsrp_st
06/27/2022, 9:52 AMedwinn1337
06/27/2022, 10:13 AMrp_st
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_st
06/27/2022, 10:33 AMrp_st
06/27/2022, 10:34 AMedwinn1337
06/27/2022, 10:49 AMrp_st
06/27/2022, 11:26 AMedwinn1337
06/27/2022, 12:22 PMedwinn1337
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_st
06/27/2022, 12:22 PMrp_st
06/27/2022, 12:22 PMedwinn1337
06/27/2022, 12:22 PMrp_st
06/27/2022, 12:22 PMedwinn1337
06/27/2022, 12:22 PMrp_st
06/27/2022, 12:27 PM