You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently this lib does not work with the inbuilt nuxi dev --tunnel dev environment. Thats because the library needs to know the origin of the page.
I already tried getting the tunnel url with a hook like this:
nuxt.hook('listen',async(_listenerServer,listener)=>{consturls: ListenerURL[]=awaitlistener.getURLs();consttunnelUrl=urls.find((url)=>url.type==='tunnel');if(tunnelUrl){nuxt.options.runtimeConfig.baseURL=tunnelUrl.url;// <---- this does not seem to work}});
But replacing the url at runtime does not seem to work.
Input would be appreciated, I could try to make an PR then.
Additional information
No response
The text was updated successfully, but these errors were encountered:
As we are currently working on the rewrite to using authjs under the hood (which does work for cloudflare), I would therefore not prioritize this issue, as it may be resolved by #673!
Describe the feature
Currently this lib does not work with the inbuilt
nuxi dev --tunnel
dev environment. Thats because the library needs to know the origin of the page.I already tried getting the tunnel url with a hook like this:
But replacing the url at runtime does not seem to work.
Input would be appreciated, I could try to make an PR then.
Additional information
No response
The text was updated successfully, but these errors were encountered: