From 81cf949e13d1dee4df9bba3793ba6f3c5a76336d Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Thu, 8 Dec 2022 14:04:58 +0100 Subject: [PATCH] fix: use localhost url for local build too --- nuxt.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index f7429e9c..43aec182 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -51,7 +51,7 @@ export default defineNuxtConfig({ }, }, runtimeConfig: { - deployUrl: isDevelopment + deployUrl: !isCI ? 'http://localhost:5314' : isPreview ? process.env.DEPLOY_PRIME_URL