Compare commits

2 Commits

2 changed files with 11 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
BACKEND_URL=backend.example.com BACKEND_URL=https://backend.example.com
FRONTEND_URL=example.com FRONTEND_URL=https://example.com
SESSION_DOMAIN=.example.com SESSION_DOMAIN=.example.com
APP_KEY=SOME-KEY APP_KEY=SOME-KEY

View File

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