浏览代码

change option name in a configuration parser

oxpa 9 年之前
父节点
当前提交
acd0af0c79
共有 1 个文件被更改,包括 1 次插入1 次删除
  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")