This commit is contained in:
Karol Wypchlo 2021-09-27 20:21:44 +02:00
parent f3be3e4586
commit f1cba47e2c
No known key found for this signature in database
GPG Key ID: C92C016317A964D0
1 changed files with 6 additions and 8 deletions

View File

@ -1,10 +1,8 @@
export const API_HOSTNAME = process.env.API_HOSTNAME || "0.0.0.0"; export const API_HOSTNAME = "0.0.0.0";
export const API_PORT = process.env.API_PORT || "3100"; export const API_PORT = "3100";
export const UPLOAD_PATH = process.env.UPLOAD_PATH || "/tmp"; export const UPLOAD_PATH = "/tmp";
export const IPFS_INFURA_API = export const IPFS_INFURA_API = "https://ipfs.infura.io:5001";
process.env.IPFS_INFURA_API || "https://ipfs.infura.io:5001"; export const IPFS_GATEWAY = "https://cloudflare-ipfs.com/ipfs/";
export const IPFS_GATEWAY = export const SKYNET_PORTAL = "https://siasky.net";
process.env.IPFS_GATEWAY || "https://cloudflare-ipfs.com/ipfs/";
export const SKYNET_PORTAL = process.env.SKYNET_PORTAL || "https://siasky.net";
export const MONGO_CONNECTIONSTRING = `mongodb://${process.env.IPFS_MONGO_USERNAME}:${process.env.IPFS_MONGO_PASSWORD}@ipfs-mongo:27017`; export const MONGO_CONNECTIONSTRING = `mongodb://${process.env.IPFS_MONGO_USERNAME}:${process.env.IPFS_MONGO_PASSWORD}@ipfs-mongo:27017`;
export const MONGO_DBNAME = "ipfs-to-skynet"; export const MONGO_DBNAME = "ipfs-to-skynet";