Skip to content

Commit fea0af4

Browse files
authored
Merge pull request #266 from joyofrails/feat/activestorage-digitalocean
Update activestorage settings
2 parents 8b4ed45 + 92cc6e0 commit fea0af4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/environments/production.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for Apache
3838
# config.action_dispatch.x_sendfile_header = "X-Accel-Redirect" # for NGINX
3939

40-
# Store uploaded files on the local file system (see config/storage.yml for options).
41-
config.active_storage.service = :local
40+
# Store uploaded files on digitalocean (see config/storage.yml for options).
41+
config.active_storage.service = :digitalocean
4242

4343
# Mount Action Cable outside main process or domain.
4444
# config.action_cable.mount_path = nil

0 commit comments

Comments
 (0)