add versioning support to the API

This commit is contained in:
jonaswinkler committed 2021-02-24 22:27:43 +01:00
1 parent df87599f1b
commit 3d3300ac32
7 files changed
+53 -2

No files matched your search

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