fix: use localhost url for local build too

zio/stable
Daniel Roe 2022-12-08 14:04:58 +01:00
parent 9431acc459
commit 81cf949e13
No known key found for this signature in database
GPG Key ID: 22D5008E4F5D9B55
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
deployUrl: isDevelopment
deployUrl: !isCI
? 'http://localhost:5314'
: isPreview
? process.env.DEPLOY_PRIME_URL