integrate IPFS using remote ssh for now, views

This commit is contained in:
Kyle Drake 2015-05-27 16:06:56 -07:00
parent 8424cc02e8
commit 59feb09928
8 changed files with 92 additions and 4 deletions

View file

@ -2,4 +2,8 @@ class Archive < Sequel::Model
many_to_one :site
set_primary_key [:site_id, :ipfs_hash]
unrestrict_primary_key
def url
"https://#{ipfs_hash}.ipfs.neocities.org"
end
end