Sfoglia il codice sorgente

change option name in a configuration parser

oxpa 9 anni fa
parent
commit
acd0af0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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")