fix: deploy url

This commit is contained in:
三咲智子 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

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: '',