app/utils/isCloudHosted.ts
Rama main · réplica de lectura del repositorio original.
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;