mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
const base_url = new URL(document.baseURI)
|
|
|
|
export const environment = {
|
|
production: true,
|
|
apiBaseUrl: document.baseURI + "api/",
|
|
apiVersion: "2",
|
|
appTitle: "Paperless-ng",
|
|
version: "1.4.2",
|
|
webSocketHost: window.location.host,
|
|
webSocketProtocol: (window.location.protocol == "https:" ? "wss:" : "ws:"),
|
|
webSocketBaseUrl: base_url.pathname + "ws/",
|
|
};
|