Fix urls
This commit is contained in:
@@ -96,7 +96,7 @@ export class BookService {
|
||||
}
|
||||
|
||||
getBookSetting(bookId: number): Observable<BookSetting> {
|
||||
return this.http.get<BookSetting>(`${this.url}/${bookId}/viewer-settings`);
|
||||
return this.http.get<BookSetting>(`${this.url}/${bookId}/viewer-setting`);
|
||||
}
|
||||
|
||||
updateViewerSetting(bookSetting: BookSetting, bookId: number): Observable<void> {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export const environment = {
|
||||
production: false,
|
||||
API_CONFIG: {
|
||||
BASE_URL: 'http://localhost:8080',
|
||||
BROKER_URL: 'ws://localhost:8080/ws',
|
||||
BASE_URL: 'http://localhost:7050',
|
||||
BROKER_URL: 'ws://localhost:7050/ws',
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user