use baseURI for websocket and api calls

This commit is contained in:
puuu
2021-05-11 17:28:06 +09:00
parent bd5c7458dd
commit 85cd3ab372
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/",
};
/*