From b379322ce27882045850d1616eda398776611c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Sat, 26 Nov 2022 10:05:56 +0800 Subject: [PATCH] fix: deploy url --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 345ac632..11cfd6d8 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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: '',