From 9c693acc00073151772c1afd4cc026dc4effbb4d Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Fri, 16 Jun 2017 14:35:13 -0700 Subject: [PATCH] missing slash after sharding dir --- models/site.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/site.rb b/models/site.rb index 85329679..74cf4f38 100644 --- a/models/site.rb +++ b/models/site.rb @@ -699,7 +699,7 @@ class Site < Sequel::Model if $config['ipfs_ssh_host'] && $config['ipfs_ssh_user'] rbox = Rye::Box.new $config['ipfs_ssh_host'], :user => $config['ipfs_ssh_user'] begin - response = rbox.ipfs "sites/#{self.class.sharding_dir self.username}#{self.username.gsub(/\/|\.\./, '')}" + response = rbox.ipfs "sites/#{self.class.sharding_dir self.username}/#{self.username.gsub(/\/|\.\./, '')}" output_array = response ensure rbox.disconnect