Przeglądaj źródła

Rename .env var, based on feedback from https://mastodon.social/users/alicerunsonfedora/statuses/101978263084840936

Daniel Supernault 6 lat temu
rodzic
commit
aaf5253422
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      config/pixelfed.php
  2. 1 1
      config/purify.php

+ 1 - 1
config/pixelfed.php

@@ -280,6 +280,6 @@ return [
     'oauth_enabled' => env('OAUTH_ENABLED', false),
 
     'sanitizer' => [
-        'strict_mode' => env('SANITIZER_STRICT', true)
+        'restrict_html_types' => env('RESTRICT_HTML_TYPES', true)
     ],
 ];

+ 1 - 1
config/purify.php

@@ -67,7 +67,7 @@ return [
         |
         */
 
-        'HTML.Allowed' => env('SANITIZER_STRICT', true) ? 
+        'HTML.Allowed' => env('RESTRICT_HTML_TYPES', true) ? 
             'a[href|title|rel],p,span,br' :
             'a[href|title|rel],p,span,strong,em,i,h1,h2,h3,h4,h5,ul,ol,li,br',