ソースを参照

Merge pull request #6175 from pixelfed/staging

Update app config, add description and rule env variables
dansup 1 週間 前
コミット
4b57bdbb61
2 ファイル変更4 行追加3 行削除
  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)
 ## [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 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/))
 -  ([](https://github.com/pixelfed/pixelfed/commit/))
 
 
 ## [v0.12.6 (2025-09-03)](https://github.com/pixelfed/pixelfed/compare/v0.12.6...dev)
 ## [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',
     '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',
     'logo' => '/img/pixelfed-icon-color.svg',
     'banner_image' => '/storage/headers/default.jpg',
     'banner_image' => '/storage/headers/default.jpg',
     'dev_log' => env('PIXELFED_DEV_LOG', false),
     'dev_log' => env('PIXELFED_DEV_LOG', false),