You've already forked isop-mirror
fix: update Sanctum base URL and origin for local development
This commit is contained in:
@@ -22,8 +22,6 @@ export default defineNuxtConfig({
|
||||
},
|
||||
|
||||
sanctum: {
|
||||
baseUrl: 'http://localhost:8000',
|
||||
origin: 'http://localhost:3000',
|
||||
redirect: {
|
||||
onLogin: '/dashboard',
|
||||
onLogout: "/",
|
||||
@@ -33,4 +31,13 @@ export default defineNuxtConfig({
|
||||
},
|
||||
redirectIfAuthenticated: true
|
||||
},
|
||||
|
||||
runtimeConfig: {
|
||||
public: {
|
||||
sanctum: {
|
||||
baseUrl: 'http://localhost:8080', // NUXT_PUBLIC_SANCTUM_BASE_URL
|
||||
origin: 'http://localhost:8080', // NUXT_PUBLIC_SANCTUM_ORIGIN
|
||||
},
|
||||
},
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user