Add all books menu item

This commit is contained in:
aditya.chandel
2024-12-30 11:17:46 -07:00
parent f931d026fa
commit 0e3cdbe41d
7 changed files with 129 additions and 75 deletions
@@ -1,9 +1,9 @@
import { RxStompService } from './rx-stomp.service';
import { myRxStompConfig } from './my-rx-stomp.config';
import { rxStompConfig } from './rx-stomp.config';
export function rxStompServiceFactory() {
const rxStomp = new RxStompService();
rxStomp.configure(myRxStompConfig);
rxStomp.configure(rxStompConfig);
rxStomp.activate();
return rxStomp;
}
@@ -1,6 +1,6 @@
import { RxStompConfig } from '@stomp/rx-stomp';
export const myRxStompConfig: RxStompConfig = {
export const rxStompConfig: RxStompConfig = {
// Which server?
brokerURL: 'ws://localhost:8080/ws',