0
0
Fork 0

Merge remote-tracking branch 'upstream/main'

This commit is contained in:
オスカー、 2024-10-28 21:25:56 +09:00
commit 1e70b14213
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7
385 changed files with 5806 additions and 3603 deletions

View file

@ -10,7 +10,9 @@
ENV[key] = SecureRandom.hex(64)
end
value = ENV.fetch(key) do
value = ENV.fetch(key, '')
if value.blank?
abort <<~MESSAGE
Mastodon now requires that these variables are set:
@ -20,6 +22,7 @@
- ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY
Run `bin/rails db:encryption:init` to generate new secrets and then assign the environment variables.
Do not change the secrets once they are set, as doing so may cause data loss and other issues that will be difficult or impossible to recover from.
MESSAGE
end