chore: upc logs

This commit is contained in:
Zack Spear
2022-03-22 17:16:32 -07:00
parent 53d43d1d0c
commit 385ba6c2a1

View File

@@ -31,6 +31,7 @@ if (file_exists('/boot/config/plugins/dynamix.my.servers/myservers.cfg')) { // c
$ALLOWED_UPC_ENV_VALS = [
'production',
'staging',
'stagingLogs',
'development',
'local',
];
@@ -51,6 +52,9 @@ switch ($UPC_ENV) {
case 'staging':
$upcSrc = 'https://registration-dev.unraid.net/webComps/unraid.min.js';
break;
case 'stagingLogs':
$upcSrc = 'https://registration-dev-logs.unraid.net/webComps/unraid.min.js';
break;
case 'development':
$upcSrc = 'https://launchpad.unraid.test:6969/webComps/unraid.js';
break;