refactor: 4everland.io -> 4everland.xyz
This commit is contained in:
parent
b4a8a63537
commit
d9447c83ac
|
|
@ -9,6 +9,6 @@ NEXT_PUBLIC_DISCORD_LINK="https://discord.gg/9XscSqJEq4"
|
|||
NEXT_PUBLIC_GITHUB_LINK="https://github.com/Crossbell-Box/xlog"
|
||||
NEXT_PUBLIC_CSB_IO="https://crossbell.io"
|
||||
NEXT_PUBLIC_CSB_SCAN="https://scan.crossbell.io"
|
||||
NEXT_PUBLIC_IPFS_GATEWAY="https://ipfs.4everland.io/ipfs/"
|
||||
NEXT_PUBLIC_IPFS_GATEWAY="https://ipfs.4everland.xyz/ipfs/"
|
||||
|
||||
REDIS_URL=
|
||||
|
|
@ -7,7 +7,7 @@ stringData:
|
|||
NEXT_PUBLIC_GITHUB_LINK: "https://github.com/Crossbell-Box/xlog"
|
||||
NEXT_PUBLIC_CSB_IO: "https://crossbell.io"
|
||||
NEXT_PUBLIC_CSB_SCAN: "https://scan.crossbell.io"
|
||||
NEXT_PUBLIC_IPFS_GATEWAY: "https://ipfs.4everland.io/ipfs/"
|
||||
NEXT_PUBLIC_IPFS_GATEWAY: "https://ipfs.4everland.xyz/ipfs/"
|
||||
REDIS_URL: ${REDIS_URL}
|
||||
kind: Secret
|
||||
metadata:
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ export const CSB_IO = process.env.NEXT_PUBLIC_CSB_IO || "https://crossbell.io"
|
|||
export const CSB_SCAN =
|
||||
process.env.NEXT_PUBLIC_CSB_SCAN || "https://scan.crossbell.io"
|
||||
export const IPFS_GATEWAY =
|
||||
process.env.NEXT_PUBLIC_IPFS_GATEWAY || "https://ipfs.4everland.io/ipfs/"
|
||||
process.env.NEXT_PUBLIC_IPFS_GATEWAY || "https://ipfs.4everland.xyz/ipfs/"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export const toGateway = (url: string) => {
|
|||
.replace("https://gateway.ipfs.io/ipfs/", IPFS_GATEWAY)
|
||||
.replace("https://ipfs.io/ipfs/", IPFS_GATEWAY)
|
||||
.replace("https://cf-ipfs.com/ipfs/", IPFS_GATEWAY)
|
||||
.replace("https://ipfs.4everland.io/ipfs/", IPFS_GATEWAY)
|
||||
.replace("https://ipfs.4everland.xyz/ipfs/", IPFS_GATEWAY)
|
||||
}
|
||||
|
||||
export const toIPFS = (url: string) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue