mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
add example env, "improve" selfhostability
This commit is contained in:
parent
99bac88155
commit
07ceaac9d9
5 changed files with 108 additions and 8 deletions
|
@ -36,6 +36,8 @@ async function getTestConfig(){
|
|||
}
|
||||
|
||||
async function hasFeature(context, feature){
|
||||
if(!process.env.TESTING_CONFIG_URL) { console.warn("Test service config URL is missing, test features will be disabled."); return false; };
|
||||
|
||||
// We need to load the test config first
|
||||
if(TESTING_REVISION == "-1") await getTestConfig();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue