mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	embed pdfs with object tag
This commit is contained in:
		@@ -118,7 +118,7 @@ MIDDLEWARE = [
 | 
				
			|||||||
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
 | 
					    'django.middleware.clickjacking.XFrameOptionsMiddleware',
 | 
				
			||||||
]
 | 
					]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# X_FRAME_OPTIONS = 'SAMEORIGIN'
 | 
					X_FRAME_OPTIONS = 'SAMEORIGIN'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# We allow CORS from localhost:8080
 | 
					# We allow CORS from localhost:8080
 | 
				
			||||||
CORS_ORIGIN_WHITELIST = tuple(os.getenv("PAPERLESS_CORS_ALLOWED_HOSTS", "http://localhost:8080,https://localhost:8080,http://localhost:4200").split(","))
 | 
					CORS_ORIGIN_WHITELIST = tuple(os.getenv("PAPERLESS_CORS_ALLOWED_HOSTS", "http://localhost:8080,https://localhost:8080,http://localhost:4200").split(","))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user