use baseURI for websocket and api calls

This commit is contained in:
puuu
2021-05-11 17:28:06 +09:00
parent 6b6862705e
commit 5bf725546b
3 changed files with 8 additions and 4 deletions

View File

@@ -9,7 +9,8 @@ export const environment = {
appTitle: "Paperless-ng",
version: "DEVELOPMENT",
webSocketHost: "localhost:8000",
webSocketProtocol: "ws:"
webSocketProtocol: "ws:",
webSocketBaseUrl: "/ws/",
};
/*