You've already forked isop-mirror
fix: add runtime configuration for Sanctum base URL and origin
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user