fix: 调整URL转换的baseURL
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m54s
All checks were successful
deploy to server / build-and-deploy (push) Successful in 2m54s
- 将baseURL由directus_url转为directus_public_url
This commit is contained in:
@ -44,6 +44,10 @@ export default defineNuxtConfig({
|
||||
},
|
||||
directus: {
|
||||
url: process.env.DIRECTUS_URL || 'http://localhost:8055',
|
||||
publicUrl:
|
||||
process.env.DIRECTUS_PUBLIC_URL ||
|
||||
process.env.DIRECTUS_URL ||
|
||||
'http://localhost:8055',
|
||||
token: process.env.DIRECTUS_TOKEN || undefined,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user