fix: use localhost url for local build too

This commit is contained in:
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

View file

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