diff --git a/ExpressAPI/src/helpers/DojoValidators.ts b/ExpressAPI/src/helpers/DojoValidators.ts index aae3e1a70fe22c096a433f737ba7e1296573061b..a5e22d715b5135444879f40a828854c41a5dbbd6 100644 --- a/ExpressAPI/src/helpers/DojoValidators.ts +++ b/ExpressAPI/src/helpers/DojoValidators.ts @@ -93,13 +93,14 @@ class DojoValidators { const template = this.getParamValue(req, path); if ( template ) { return `${ Config.gitlab.urls[0].replace(/^([a-z]{3,5}:\/{2})?(.*)/, `$1${ Config.gitlab.account.username }:${ Config.gitlab.account.token }@$2`) }${ template }.git`; + } else { + return Config.enonce.default.template; } } catch ( e ) { } return value; } }); - }