mirror of
https://github.com/outline/outline.git
synced 2026-06-28 18:54:24 +03:00
67981a351e
* chore: Remove env variables in webpack bundle * remove unused globals * refactor: consolidate window.env calls to single file * fix: Slack client side integration auth * fix: developers url
8 lines
207 B
JavaScript
8 lines
207 B
JavaScript
// @flow
|
|
import { stripSubdomain } from "shared/utils/domains";
|
|
import env from "env";
|
|
|
|
export function getCookieDomain(domain: string) {
|
|
return env.SUBDOMAINS_ENABLED ? stripSubdomain(domain) : domain;
|
|
}
|