mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Use GH api URL
Update configuration.rst
This commit is contained in:
		@@ -767,8 +767,8 @@ PAPERLESS_OCR_LANGUAGES=<list>
 | 
			
		||||
 | 
			
		||||
PAPERLESS_ENABLE_UPDATE_CHECK=<bool>
 | 
			
		||||
    Enabling this option enables the check for available updates, which works by
 | 
			
		||||
    loading the version file of the public repository for this project on Github e.g.
 | 
			
		||||
    https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/src/paperless/version.py
 | 
			
		||||
    pinging the releases endpoint of the Github API for the project e.g.
 | 
			
		||||
    https://api.github.com/repos/paperless-ngx/paperless-ngx/releases/latest
 | 
			
		||||
    to determine whether a new version is available. Actual updating of the app must be done manually.
 | 
			
		||||
 | 
			
		||||
    No tracking data is collected by the app in any way.
 | 
			
		||||
 
 | 
			
		||||
@@ -679,8 +679,8 @@ class RemoteVersionView(GenericAPIView):
 | 
			
		||||
        if settings.ENABLE_UPDATE_CHECK:
 | 
			
		||||
            try:
 | 
			
		||||
                with urllib.request.urlopen(
 | 
			
		||||
                    "https://raw.githubusercontent.com/paperless-ngx"
 | 
			
		||||
                    + "/paperless-ngx/main/src/paperless/version.py",
 | 
			
		||||
                    "https://api.github.com/repos/"
 | 
			
		||||
                    + "paperless-ngx/paperless-ngx/releases/latest",
 | 
			
		||||
                ) as response:
 | 
			
		||||
                    remote = response.read().decode("utf-8")
 | 
			
		||||
                try:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user