mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	getenv has "None" as default
@MasterofJOKers in PR#255
This commit is contained in:
		| @@ -47,10 +47,7 @@ _allowed_hosts = os.getenv("PAPERLESS_ALLOWED_HOSTS") | |||||||
| if _allowed_hosts: | if _allowed_hosts: | ||||||
|     ALLOWED_HOSTS = _allowed_hosts.split(",") |     ALLOWED_HOSTS = _allowed_hosts.split(",") | ||||||
|  |  | ||||||
| FORCE_SCRIPT_NAME = None | FORCE_SCRIPT_NAME = os.getenv("PAPERLESS_FORCE_SCRIPT_NAME") | ||||||
| _force_script_name = os.getenv("PAPERLESS_FORCE_SCRIPT_NAME") |  | ||||||
| if _force_script_name: |  | ||||||
|     FORCE_SCRIPT_NAME = _force_script_name |  | ||||||
|      |      | ||||||
| # Application definition | # Application definition | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 maphy-psd
					maphy-psd