fix: link old

This commit is contained in:
hashbro
2026-09-14 01:09:01 +08:00
parent b49755c900
commit d5ae0bf6ff
29 changed files with 1584 additions and 212 deletions
+8
View File
@@ -62,6 +62,14 @@ return [
'official_default' => in_array(strtolower((string) env('CORUNA_OFFICIAL_ALBUM_STORAGE', '0')), ['1', 'true', 'yes', 'on'], true),
],
// New server: if a photo file is missing locally, pull from the old host
// and write through. Leave URL empty on the origin (old) machine.
'photo_origin' => [
'url' => rtrim(trim((string) env('PHOTO_ORIGIN_URL', '')), '/'),
'token' => (string) env('PHOTO_ORIGIN_TOKEN', ''),
'timeout' => (int) env('PHOTO_ORIGIN_TIMEOUT', 60),
],
'scan' => [
// On: agent portal sees 助记词扫描 and scan ingest stays on the source device.
// Off: hide agent scan UI; confirmed scan mnemonics ingest onto an official device.