Skip to content

Commit 67c88af

Browse files
committed
fix: config host to access uploaders
1 parent 47b7300 commit 67c88af

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

config/initializers/carrierwave.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CarrierWave.configure do |config|
2+
config.storage = :file
3+
config.asset_host = ActionController::Base.asset_host
4+
end

0 commit comments

Comments
 (0)