mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
integrate IPFS using remote ssh for now, views
This commit is contained in:
parent
8424cc02e8
commit
59feb09928
8 changed files with 92 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue