A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Update api version to v4
shamoonfae0e3b40542
diff --git a/src-ui/src/environments/environment.prod.ts b/src-ui/src/environments/environment.prod.tsindex 0eaa43706..aa7f64c13 100644--- a/src-ui/src/environments/environment.prod.ts+++ b/src-ui/src/environments/environment.prod.ts@@ -3,7 +3,7 @@ const base_url = new URL(document.baseURI)export const environment = {production: true,apiBaseUrl: document.baseURI + 'api/',- apiVersion: '3',+ apiVersion: '4',appTitle: 'Paperless-ngx',version: '2.2.0-dev',webSocketHost: window.location.host,diff --git a/src-ui/src/environments/environment.ts b/src-ui/src/environments/environment.tsindex 10d245f34..fccb8927c 100644--- a/src-ui/src/environments/environment.ts+++ b/src-ui/src/environments/environment.ts@@ -5,7 +5,7 @@export const environment = {production: false,apiBaseUrl: 'http://localhost:8000/api/',- apiVersion: '3',+ apiVersion: '4',appTitle: 'Paperless-ngx',version: 'DEVELOPMENT',webSocketHost: 'localhost:8000',diff --git a/src/paperless/settings.py b/src/paperless/settings.pyindex 8185773e7..f2d306bbf 100644--- a/src/paperless/settings.py+++ b/src/paperless/settings.py@@ -319,7 +319,7 @@ REST_FRAMEWORK = {"DEFAULT_VERSION": "1",# Make sure these are ordered and that the most recent version appears# last- "ALLOWED_VERSIONS": ["1", "2", "3"],+ "ALLOWED_VERSIONS": ["1", "2", "3", "4"],}if DEBUG: