From 6214ba7b31a83ecc12ce484b4e7ffbdefc54d765 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 22 Sep 2018 12:37:38 -0700 Subject: [PATCH] allow hyphenated subdomains in caas --- src/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 87341ec47..e7d5e91d5 100644 --- a/src/config.js +++ b/src/config.js @@ -234,7 +234,8 @@ function isSpacesEnabled() { } function allowHyphenatedSubdomains() { - return get('edition') === 'hostingprovider'; + // we should move caas also to hostingprovider edition at some point + return get('edition') === 'hostingprovider' || get('provider') === 'caas'; } function allowOperatorActions() {