fix: add runtime configuration for Sanctum base URL and origin

This commit is contained in:
2025-12-04 21:06:37 +01:00
parent 0da6157255
commit 77e099a16e

View File

@@ -32,6 +32,15 @@ export default defineNuxtConfig({
redirectIfAuthenticated: true
},
runtimeConfig: {
public: {
sanctum: {
baseUrl: 'http://localhost:8000',
origin: 'http://localhost:3000'
} as any
}
},
typescript: {
strict: true,
typeCheck: true,