mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-01-14 08:58:02 -05:00
Update IPFS Gateway (#1325)
* change ipfs gateway * change env name for ipfs link pattern
This commit is contained in:
@@ -22,6 +22,6 @@ export const {
|
||||
NEXT_PUBLIC_IMGIX_DOMAIN: IMGIX_DOMAIN = 'metafam.imgix.net',
|
||||
} = process.env;
|
||||
export const IPFS_LINK_PATTERN =
|
||||
process.env.IPFS_LINK_PATTERN ||
|
||||
'https://ipfs.infura.io/ipfs/{cid}/{path}' ||
|
||||
process.env.NEXT_PUBLIC_IPFS_LINK_PATTERN ||
|
||||
'https://gateway.ipfs.io/ipfs/{cid}/{path}' ||
|
||||
'https://{v1cid}.ipfs.dweb.link/{path}';
|
||||
|
||||
Reference in New Issue
Block a user