add versioning support to the API

This commit is contained in:
jonaswinkler
2021-02-24 22:27:43 +01:00
parent 9a383b9b5c
commit ccd3b1a75c
7 changed files with 53 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
export const environment = {
production: true,
apiBaseUrl: "/api/",
apiVersion: "1",
appTitle: "Paperless-ng",
version: "1.2.1",
webSocketHost: window.location.host,

View File

@@ -5,6 +5,7 @@
export const environment = {
production: false,
apiBaseUrl: "http://localhost:8000/api/",
apiVersion: "1",
appTitle: "Paperless-ng",
version: "DEVELOPMENT",
webSocketHost: "localhost:8000",