mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-10 07:55:21 +02:00
Change to url_options
This commit is contained in:
parent
b83315b810
commit
4338926422
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
def set_active_storage_url_options
|
def set_active_storage_url_options
|
||||||
ActiveStorage::Current.url_options = {
|
ActiveStorage::Current.url_options = {
|
||||||
protocol: request.protocol.delete("://"),
|
protocol: request.protocol,
|
||||||
host: request.host,
|
host: request.host,
|
||||||
port: request.optional_port
|
port: request.optional_port
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue