fixed host url for staging

This commit is contained in:
William Grant 2021-09-23 16:27:32 +10:00
parent 95a9aeb0c0
commit 36cd2ae88b
1 changed files with 4 additions and 1 deletions

View File

@ -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: