Skip to content
Snippets Groups Projects
Commit f09b133e authored by sandeepsajan0's avatar sandeepsajan0 Committed by Shrikrishna Singh
Browse files

Fix invoice pdf embed issue by changing X-Frame-Options

parent b400496a
No related branches found
No related tags found
No related merge requests found
......@@ -208,6 +208,9 @@ WAGTAIL_CACHE_TIMEOUT = CACHE_CONTROL_MAX_AGE
# Set feed cache timeout (automatic cache refresh).
FEED_CACHE_TIMEOUT = 600
# Set X-Frame-Options header for every outgoing HttpResponse
X_FRAME_OPTIONS = 'SAMEORIGIN'
if env.str('REDIS_URL', None):
CACHES = {
'default': {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment