Fixed the hang at startup

This commit is contained in:
Jamie Rees 2019-03-26 12:32:58 +00:00
parent ee668dfd34
commit 93928aadc5
2 changed files with 1 additions and 11741 deletions

View file

@ -1,6 +1,6 @@
export function getBaseLocation() { export function getBaseLocation() {
debugger; debugger;
let paths: string[] = location.pathname.split('/').splice(1, 1); let paths: string[] = location.pathname.split('/').splice(1, 1);
let basePath: string = (paths && paths[0]) || 'discover'; // Default: discover let basePath: string = (paths && paths[0] ? paths[0] : "");
return '/' + basePath; return '/' + basePath;
} }

11740
src/Ombi/package-lock.json generated

File diff suppressed because it is too large Load diff