mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 02:26:55 -07:00
maybe fixed the baseurl? pfft who the fuck knows now. Man this is the only bad thing about angular CLI
This commit is contained in:
parent
8a7ecd7955
commit
b93dea489d
2 changed files with 2 additions and 3 deletions
|
@ -57,7 +57,6 @@ export class MyNavComponent implements OnInit {
|
|||
}
|
||||
|
||||
public getTheme(){
|
||||
debugger;
|
||||
return this.theme === 'dark' ? 'active-list-item-dark' : 'active-list-item';
|
||||
}
|
||||
|
||||
|
|
|
@ -3,9 +3,9 @@ export function getBaseLocation() {
|
|||
let paths: string[] = location.pathname.split('/').splice(1, 1);
|
||||
let basePath: string = (paths && paths[0] ? paths[0] : "");
|
||||
if(invalidProxies.indexOf(basePath) === -1){
|
||||
return '/';
|
||||
return '/' + basePath;
|
||||
}
|
||||
return '/' + basePath;
|
||||
return '/';
|
||||
}
|
||||
|
||||
const invalidProxies: string[] = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue