fix: Allow subdomains upto 255 in self-hosted, closes #4524
This commit is contained in:
8
server/utils/isCloudHosted.ts
Normal file
8
server/utils/isCloudHosted.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import env from "@server/env";
|
||||
|
||||
/**
|
||||
* True if the current installation is the cloud hosted version at getoutline.com
|
||||
*/
|
||||
const isCloudHosted = env.DEPLOYMENT === "hosted";
|
||||
|
||||
export default isCloudHosted;
|
||||
Reference in New Issue
Block a user