Przeglądaj źródła

Merge pull request #6175 from pixelfed/staging

Update app config, add description and rule env variables
dansup 1 tydzień temu
rodzic
commit
4b57bdbb61
2 zmienionych plików z 4 dodań i 3 usunięć
  1. 1 0
      CHANGELOG.md
  2. 3 3
      config/app.php

+ 1 - 0
CHANGELOG.md

@@ -3,6 +3,7 @@
 ## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.12.5...dev)
 
 - Update Status storage, add SanitizerService to fix spacing in html stripped content ([3686c9212](https://github.com/pixelfed/pixelfed/commit/3686c9212))
+- Update app config, add description and rule env variables ([0980519a9](https://github.com/pixelfed/pixelfed/commit/0980519a9))
 -  ([](https://github.com/pixelfed/pixelfed/commit/))
 
 ## [v0.12.6 (2025-09-03)](https://github.com/pixelfed/pixelfed/compare/v0.12.6...dev)

+ 3 - 3
config/app.php

@@ -101,9 +101,9 @@ return [
 
     'cipher' => 'AES-256-CBC',
 
-    'short_description' => 'Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.',
-    'description' => 'Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.',
-    'rules' => null,
+    'short_description' => env('PF_SHORT_DESCRIPTION', 'Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.'),
+    'description' => env('PF_DESCRIPTION', 'Pixelfed is an image sharing platform, an ethical alternative to centralized platforms.'),
+    'rules' => env('PF_RULES', null),
     'logo' => '/img/pixelfed-icon-color.svg',
     'banner_image' => '/storage/headers/default.jpg',
     'dev_log' => env('PIXELFED_DEV_LOG', false),