blob: ad2f43011098c670f80264de9e39d53a7ffd0909 [file] [log] [blame]
// Helper to identify domain and enable or disable features based on them
const currentDomain = window.location.hostname;
const isDomain = (domain: string): boolean => domain === currentDomain;
const isOneOfDomains = (domains: string[]): boolean =>
domains.includes(currentDomain);
export { isDomain, isOneOfDomains };