mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-03-30 04:42:45 +00:00
# Conflicts: # docs/setup.md # src-ui/src/main.ts # src/documents/tests/test_api_bulk_edit.py # src/documents/tests/test_api_custom_fields.py # src/documents/tests/test_api_search.py # src/documents/tests/test_api_status.py # src/documents/tests/test_workflows.py # src/paperless_mail/tests/test_api.py
14 lines
419 B
TypeScript
14 lines
419 B
TypeScript
const base_url = new URL(document.baseURI)
|
|
|
|
export const environment = {
|
|
production: true,
|
|
apiBaseUrl: document.baseURI + 'api/',
|
|
apiVersion: '10', // match src/paperless/settings.py
|
|
appTitle: 'Paperless-ngx',
|
|
tag: 'prod',
|
|
version: '2.20.13',
|
|
webSocketHost: window.location.host,
|
|
webSocketProtocol: window.location.protocol == 'https:' ? 'wss:' : 'ws:',
|
|
webSocketBaseUrl: base_url.pathname + 'ws/',
|
|
}
|