1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-09 07:25:19 +02:00

Change to url_options

This commit is contained in:
hatz 2025-05-01 16:20:28 -05:00
parent b83315b810
commit 4338926422
No known key found for this signature in database

View file

@ -27,7 +27,7 @@ class ApplicationController < ActionController::Base
def set_active_storage_url_options
ActiveStorage::Current.url_options = {
protocol: request.protocol.delete("://"),
protocol: request.protocol,
host: request.host,
port: request.optional_port
}