mirror of https://github.com/sualko/cloud_bbb
fix: removal of url shortener
parent
40271e2b9c
commit
0cfb7d155d
|
@ -79,11 +79,11 @@ $(() => {
|
||||||
async function saveAppSettings(shortener: string) {
|
async function saveAppSettings(shortener: string) {
|
||||||
await checkPasswordConfirmation();
|
await checkPasswordConfirmation();
|
||||||
|
|
||||||
if (shortener.indexOf('https://') !== 0) {
|
if (shortener && shortener.indexOf('https://') !== 0) {
|
||||||
throw 'https';
|
throw 'https';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (shortener.indexOf('{token}') < 0) {
|
if (shortener && shortener.indexOf('{token}') < 0) {
|
||||||
throw 'token';
|
throw 'token';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue