import assert from './assert';

const SITE_DOMAIN = process.env.SITE_DOMAIN;

enum SiteDomain {
  EXANDERIO = "exander.io",
  FLU0R1NENET = "flu0r1ne.net"
};

assert(
  SITE_DOMAIN === SiteDomain.EXANDERIO ||
  SITE_DOMAIN === SiteDomain.FLU0R1NENET,
  `Please set SITE_DOMAIN`
);

const DISPLAY_DOMAIN = SITE_DOMAIN === SiteDomain.EXANDERIO ? 'al.exander.io' : 'flu0r1ne.net';

export {
  SITE_DOMAIN,
  SiteDomain,
  DISPLAY_DOMAIN,
};
