Skip to content

Commit

Permalink
Fix backend url
Browse files Browse the repository at this point in the history
* BackendService generates urls such as 'http://example.com//api/blocks', but these url doesnt work with AWS ALB
  • Loading branch information
Yamaguchi committed Apr 30, 2024
1 parent ce8a683 commit f4b15e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/backend.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export class BackendService {
private request(url: string, params?: HttpParams): Observable<any> {
return this.getConfig().pipe(
mergeMap((config: Config) => {
return this.http.get(`${config.backendUrl}/${url}`, { params });
return this.http.get(`${config.backendUrl}${url}`, { params });
})
);
}
Expand Down

0 comments on commit f4b15e7

Please sign in to comment.