Open Tlaloc-Es opened 2 years ago
Seems same to my problem even error is not, but give it a try though I'm not sure if it works:
strategies: {
local: {
endpoints: {
login: { url: '/login', method: 'post' },
logout: { url: '/logout', method: 'post' },
user: false,
},
user: {
autoFetch: false,
}
}
},
Version
module: 5.0.0-1648802546.c9880dc nuxt: 2.14.5
Nuxt configuration
mode:
Nuxt configuration
I had the following configuration: endpoints: { login: { url: '/login', method: 'post' }, logout: { url: '/logout', method: 'post' }, user: { url: '/user', method: 'get' }, },
but when I change to the current configuration that you can see above, I start to get slow app, I keep the tree endpoints I got the following error after a time:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
I didn't if I comment user endpoint, but anyway nuxt become too slow to work.
I like it if auth is making a lot of requests, but in the server, I don't have any requests logged.