Add all books menu item
This commit is contained in:
@@ -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
-1
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user