mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 23:35:22 +01:00
QoL: log version at startup, show backend vs frontend mismatch in system status (#10214)
This commit is contained in:
parent
83391af866
commit
52b95f2b62
12 changed files with 85 additions and 5 deletions
|
|
@ -5,6 +5,7 @@ export const environment = {
|
|||
apiBaseUrl: document.baseURI + 'api/',
|
||||
apiVersion: '9', // match src/paperless/settings.py
|
||||
appTitle: 'Paperless-ngx',
|
||||
tag: 'prod',
|
||||
version: '2.16.3',
|
||||
webSocketHost: window.location.host,
|
||||
webSocketProtocol: window.location.protocol == 'https:' ? 'wss:' : 'ws:',
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ export const environment = {
|
|||
apiBaseUrl: 'http://localhost:8000/api/',
|
||||
apiVersion: '9',
|
||||
appTitle: 'Paperless-ngx',
|
||||
tag: 'dev',
|
||||
version: 'DEVELOPMENT',
|
||||
webSocketHost: 'localhost:8000',
|
||||
webSocketProtocol: 'ws:',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue