add ui to upload to IPFS node on box

This commit is contained in:
John Hess 2023-05-24 17:30:54 -05:00
parent 99089126c0
commit 54b3da996c
27 changed files with 78892 additions and 4 deletions

View file

@ -0,0 +1,24 @@
// Change this file as you need it
const config = {
port: 5001,
gateway: 8080
}
const node = {
default: 'local',
remote: {
address: 'ipfs.sea.tube',
...config,
protocol: 'https'
},
// default local node
// $butter_name is replaced with the butterbox's address during provisioning
// see https://gitlab.com/likebutter/butterbox-rpi
local: {
address: window.location.hostname,
...config,
protocol: 'http'
}
}