chore: Remove DEPLOYMENT and SUBDOMAINS_ENABLED (#5742)
This commit is contained in:
@@ -3,6 +3,10 @@ import env from "~/env";
|
||||
/**
|
||||
* True if the current installation is the cloud hosted version at getoutline.com
|
||||
*/
|
||||
const isCloudHosted = env.DEPLOYMENT === "hosted";
|
||||
const isCloudHosted = [
|
||||
"https://app.getoutline.com",
|
||||
"https://app.outline.dev",
|
||||
"https://app.outline.dev:3000",
|
||||
].includes(env.URL);
|
||||
|
||||
export default isCloudHosted;
|
||||
|
||||
Reference in New Issue
Block a user