From e05df889b1c19548832fb6b8251990b1f61ca37e Mon Sep 17 00:00:00 2001 From: Eric Holscher <25510+ericholscher@users.noreply.github.com> Date: Tue, 15 Feb 2022 13:46:35 -0800 Subject: [PATCH] Add x-hoverxref-version to CORS This should fix hoverxref --- readthedocs/settings/base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/readthedocs/settings/base.py b/readthedocs/settings/base.py index 9eacf3cab61..dbba4e48eb0 100644 --- a/readthedocs/settings/base.py +++ b/readthedocs/settings/base.py @@ -669,6 +669,7 @@ def DOCKER_LIMITS(self): 'accept', 'origin', 'authorization', + 'x-hoverxref-version', 'x-csrftoken' ) # Additional protection to allow only idempotent methods.