mirror of
https://github.com/pockethost/pockethost.git
synced 2025-06-07 06:36:43 +00:00
chore(lander): set apex domain default to local
This commit is contained in:
parent
9e3ff0347f
commit
6abcbfe5d3
@ -1,18 +1,18 @@
|
|||||||
if (process.env.NODE_ENV !== 'production') {
|
|
||||||
require('dotenv').config({ path: '.env' })
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* These environment variables default to pointing to the production build so
|
* These environment variables default to pointing to the production build so
|
||||||
* frontend development is easy. If they are specified in .env, those values
|
* frontend development is easy. If they are specified in .env, those values
|
||||||
* will prevail.
|
* will prevail.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const PUBLIC_APEX_DOMAIN = process.env.PUBLIC_APEX_DOMAIN || 'pockethost.lvh.me'
|
||||||
|
|
||||||
const env = {
|
const env = {
|
||||||
// The domain name where this dashboard lives
|
// The domain name where this dashboard lives
|
||||||
PUBLIC_APP_URL: process.env.PUBLIC_APP_URL || 'https://app.pockethost.io',
|
PUBLIC_APP_URL:
|
||||||
|
process.env.PUBLIC_APP_URL || `https://app.${PUBLIC_APEX_DOMAIN}`,
|
||||||
|
|
||||||
PUBLIC_BLOG_URL: process.env.PUBLIC_BLOG_URL || 'https://pockethost.io',
|
PUBLIC_BLOG_URL:
|
||||||
|
process.env.PUBLIC_BLOG_URL || `https://${PUBLIC_APEX_DOMAIN}`,
|
||||||
|
|
||||||
PUBLIC_DISCORD_URL: `https://discord.gg/HsSjcuPRWX`,
|
PUBLIC_DISCORD_URL: `https://discord.gg/HsSjcuPRWX`,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user