From 939c168fe9a394805c0a99197b2d579733abfe3f Mon Sep 17 00:00:00 2001 From: evazion Date: Mon, 23 Dec 2019 22:15:04 -0600 Subject: [PATCH] danbooru_default_config.rb: fix default storage dir. --- config/danbooru_default_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index c209b14e3..90a67efe5 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -226,7 +226,7 @@ module Danbooru # base_url - where to serve files from (default: http://#{hostname}/data) # hierarchical: false - store files in a single directory # hierarchical: true - store files in a hierarchical directory structure, based on the MD5 hash - StorageManager::Local.new(base_url: "#{CurrentUser.root_url}/data", base_dir: Rails.root.join("/public/data"), hierarchical: false) + StorageManager::Local.new(base_url: "#{CurrentUser.root_url}/data", base_dir: Rails.root.join("public/data"), hierarchical: false) # Store files on one or more remote host(s). Configure SSH settings in # ~/.ssh_config or in the ssh_options param (ref: http://net-ssh.github.io/net-ssh/Net/SSH.html#method-c-start)