import assert from './assert';

const SITE_DOMAIN = process.env.SITE_DOMAIN;

enum SiteDomain {
  SAHINFIO = "sahinf.io",
  FURKANNET = "furkistan.com"
};

assert(
  SITE_DOMAIN === SiteDomain.SAHINFIO ||
  SITE_DOMAIN === SiteDomain.FURKANNET,
  `Please set SITE_DOMAIN`
);

const DISPLAY_DOMAIN = SITE_DOMAIN === SiteDomain.SAHINFIO ? 'sahinf.io' : 'furkistan.com';

export {
  SITE_DOMAIN,
  SiteDomain,
  DISPLAY_DOMAIN,
};
