butter-kanglam-ui/assets/js/upload/config.js
2023-05-24 17:30:54 -05:00

24 lines
432 B
JavaScript

// 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'
}
}