mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
configure websocket endpoint for production
This commit is contained in:
@@ -2,5 +2,7 @@ export const environment = {
|
||||
production: true,
|
||||
apiBaseUrl: "/api/",
|
||||
appTitle: "Paperless-ng",
|
||||
version: "1.1.0"
|
||||
version: "1.1.0",
|
||||
webSocketHost: window.location.host,
|
||||
webSocketProtocol: (window.location.protocol == "https:" ? "wss:" : "ws:")
|
||||
};
|
||||
|
@@ -7,7 +7,8 @@ export const environment = {
|
||||
apiBaseUrl: "http://localhost:8000/api/",
|
||||
appTitle: "Paperless-ng",
|
||||
version: "DEVELOPMENT",
|
||||
wsBaseUrl: "ws://localhost:8000/ws/"
|
||||
webSocketHost: "localhost:8000",
|
||||
webSocketProtocol: "ws:"
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user