From ea51cf6ef153d9fceb59cd38eff445cf7f8a948d Mon Sep 17 00:00:00 2001 From: Darren Clarke Date: Tue, 20 Jun 2023 07:59:13 +0000 Subject: [PATCH] Set default link config values --- apps/link/next.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/link/next.config.js b/apps/link/next.config.js index c2b2767..e81b7bc 100644 --- a/apps/link/next.config.js +++ b/apps/link/next.config.js @@ -2,10 +2,10 @@ const nextConfig = { reactStrictMode: true, publicRuntimeConfig: { - linkURL: process.env.LINK_URL, - leafcutterURL: process.env.LEAFCUTTER_URL, - metamigoURL: process.env.METAMIGO_URL, - muiLicenseKey: process.env.MUI_LICENSE_KEY, + linkURL: process.env.LINK_URL ?? "http://localhost:3000", + leafcutterURL: process.env.LEAFCUTTER_URL ?? "http://localhost:3001", + metamigoURL: process.env.METAMIGO_URL ?? "http://localhost:3002", + muiLicenseKey: process.env.MUI_LICENSE_KEY ?? "", }, async rewrites() { return {