outline/app/utils/isCloudHosted.ts

13 lines
287 B
TypeScript
Raw Permalink Normal View History

import env from "~/env";
/**
* True if the current installation is the cloud hosted version at getoutline.com
*/
const isCloudHosted = [
"https://app.getoutline.com",
"https://app.outline.dev",
"https://app.outline.dev:3000",
].includes(env.URL);
export default isCloudHosted;