Skip to content

Commit

Permalink
config: Fix path of config.json to match the actual deployment dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterGC committed Feb 16, 2024
1 parent 833ed88 commit f4612f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion erdblick_app/app/jump.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class JumpTargetService {
availableOptions = new Subject<Array<JumpTarget>>();

constructor(private httpClient: HttpClient) {
httpClient.get("/config.json", {responseType: 'json'}).subscribe(
httpClient.get("/config/config.json", {responseType: 'json'}).subscribe(
{
next: (data: any) => {
try {
Expand Down
2 changes: 1 addition & 1 deletion erdblick_app/app/style.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class StyleService {
this.styleData = dataMap;
});
let styleUrls: Array<ErdblickStyle> = [];
httpClient.get("/config.json", {responseType: "json"}).subscribe({
httpClient.get("/config/config.json", {responseType: "json"}).subscribe({
next: (data: any) => {
styleUrls = [...styleUrls, ...data["styles"]];
styleUrls.forEach((styleUrl: ErdblickStyle) => {
Expand Down

0 comments on commit f4612f0

Please sign in to comment.