maybe fixed the baseurl? pfft who the fuck knows now. Man this is the only bad thing about angular CLI

pull/3895/head
tidusjar 6 years ago
parent 8a7ecd7955
commit b93dea489d

@ -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…
Cancel
Save