fix: deploy url

zio/stable
三咲智子 2022-11-26 10:05:56 +08:00
parent da64d008a1
commit b379322ce2
No known key found for this signature in database
GPG Key ID: 69992F2250DFD93E
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
deployUrl: process.env.DEPLOY_PRIME_URL,
deployUrl: process.env.PULL_REQUEST === 'true' ? process.env.DEPLOY_PRIME_URL : '',
cloudflare: {
accountId: '',
namespaceId: '',