Browse Source

change option name in a configuration parser

oxpa 9 năm trước cách đây
mục cha
commit
acd0af0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -92,7 +92,7 @@ HTTP_ALLOWED_METHODS = Config(
   default=['OPTIONS', 'GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'CONNECT'])
 
 X_FRAME_OPTIONS = Config(
-  key="django_x_frame_options",
+  key="http_x_frame_options",
   help=_("X-Frame-Options HTTP header value."),
   type=str,
   default="SAMEORIGIN")