Closed steklopod closed 1 year ago
baseURL makes call to the server. You are using loginWith()
which makes a call via the client side. (when you have ssr enable subsequent calls are made to the server if enabled.)
If you took a look at the http module the module is based off of, then you'd see that there is a browserBaseURL
for client side handling.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Environment
Darwin
v19.0.1
3.0.0-rc.13
0.6.1
npm@8.19.2
vite
ssr
,runtimeConfig
,build
,css
,modules
,http
,auth
,app
unplugin-icons/nuxt
,@pinia/nuxt@0.4.3
,@nuxtjs-alt/auth@2.1.2
,@nuxtjs-alt/http@1.4.5
,@nuxtjs-alt/axios@1.0.19
, @nuxtjs-alt/proxy@1.3.5-
Reproduction
upgrade to `@nuxtjs-alt/auth": "^2.1.2"
Run
when
Describe the bug
I upgraded to `@nuxtjs-alt/auth": "^2.1.2"
and now
ignores
http: { baseURL
fromnuxt.config
by replacing it withlocalhost:3000