fix: Allow subdomains upto 255 in self-hosted, closes #4524

This commit is contained in:
Tom Moor
2022-12-02 22:06:13 -05:00
parent 0f19a82488
commit 0a0498d139
5 changed files with 16 additions and 7 deletions

View 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;