From 36cd2ae88b5bff7ec027cf2b49d2dd814ea14479 Mon Sep 17 00:00:00 2001 From: William Grant Date: Thu, 23 Sep 2021 16:27:32 +1000 Subject: [PATCH] fixed host url for staging --- constants/metadata.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/constants/metadata.tsx b/constants/metadata.tsx index d6fe00f..d28a239 100644 --- a/constants/metadata.tsx +++ b/constants/metadata.tsx @@ -25,7 +25,10 @@ export function generateURL(prefix: string) { } const METADATA = { - HOST_URL: 'https://oxen.io', + HOST_URL: + process.env.NEXT_PUBLIC_SITE_ENV === 'production' + ? 'https://oxen.io' + : 'https://staging.oxen.io', SITE_NAME: 'Oxen', TITLE: 'Oxen | Privacy made simple.', DESCRIPTION: