1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 15:49:39 +02:00

Make encryption config optional for self hosting users (#1476)

* Fix redirect 404 bug

* Make encryption optional for self-hosters

* Fix test
This commit is contained in:
Zach Gollwitzer 2024-11-18 10:47:05 -05:00 committed by GitHub
parent 69f6d7f8ea
commit 0af5faaa9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 19 additions and 3 deletions

View file

@ -94,6 +94,4 @@ Rails.application.configure do
# ]
# Skip DNS rebinding protection for the default health check endpoint.
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
config.active_record.encryption = Rails.application.credentials.active_record_encryption
end