mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-22 04:30:56 +03:00
Fixed a bug and increased compatibility
This commit is contained in:
@@ -66,11 +66,9 @@ export class PostsService {
|
||||
}
|
||||
|
||||
loadNavItems() {
|
||||
return this.http.get("../../backend/config/default.json")
|
||||
console.log("Config location: " + window.location.href + "backend/config/default.json");
|
||||
return this.http.get(window.location.href + "backend/config/default.json")
|
||||
.map(res => res.json());
|
||||
//This is optional, you can remove the last line
|
||||
// if you don't want to log loaded json in
|
||||
// console.
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user