From 207310cc23ab1adf59fe805a3077be046151436a Mon Sep 17 00:00:00 2001 From: soyricardodev Date: Sat, 15 Jun 2024 15:57:02 -0400 Subject: [PATCH] feat: add const with deploy url --- apps/social-polling/next.config.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/apps/social-polling/next.config.js b/apps/social-polling/next.config.js index e3bd1ea1..ce4247cd 100644 --- a/apps/social-polling/next.config.js +++ b/apps/social-polling/next.config.js @@ -3,7 +3,8 @@ * for Docker builds. */ await import("./src/env.js"); -import { env } from "./src/env.js"; + +const giftingConciergeURL = "https://giftingconcierge.theliaison.vercel.app"; /** @type {import("next").NextConfig} */ const nextConfig = { @@ -27,19 +28,19 @@ const nextConfig = { }, { source: "/gift", - destination: env.GIFTING_CONCIERGE_URL, + destination: giftingConciergeURL, }, { source: "/gift/:path*", - destination: `${env.GIFTING_CONCIERGE_URL}/:path*`, + destination: `${giftingConciergeURL}/:path*`, }, { source: "/giftshop", - destination: `${env.GIFTING_CONCIERGE_URL}/giftshop`, + destination: `${giftingConciergeURL}/giftshop`, }, { source: "/giftshop/:path*", - destination: `${env.GIFTING_CONCIERGE_URL}/giftshop/:path*`, + destination: `${giftingConciergeURL}/giftshop/:path*`, }, ] }