about summary refs log tree commit diff
path: root/lib/tasks
diff options
context:
space:
mode:
authorM Somerville <dracos@users.noreply.github.com>2018-08-25 12:27:08 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-08-25 13:27:08 +0200
commit2bba6e582d4e8dcf119177e36f1e7fcf3873aeb6 (patch)
tree771949d55b2329a134ae798928554aadf448cef9 /lib/tasks
parent29da56cf75c1381b31a8b26738a94eff482f8099 (diff)
Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)
Still check for S3_CLOUDFRONT_HOST for existing installs.
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/mastodon.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/mastodon.rake b/lib/tasks/mastodon.rake
index 9ce39335d..519c21785 100644
--- a/lib/tasks/mastodon.rake
+++ b/lib/tasks/mastodon.rake
@@ -222,7 +222,7 @@ namespace :mastodon do
         end
 
         if prompt.yes?('Do you want to access the uploaded files from your own domain?')
-          env['S3_CLOUDFRONT_HOST'] = prompt.ask('Domain for uploaded files:') do |q|
+          env['S3_ALIAS_HOST'] = prompt.ask('Domain for uploaded files:') do |q|
             q.required true
             q.default "files.#{env['LOCAL_DOMAIN']}"
             q.modify :strip