Merge branch 'master' of github.com:neocities/neocities

This commit is contained in:
Kyle Drake 2017-06-16 22:10:20 -07:00
commit b80c4a98a2

View file

@ -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