From 9cff1771c91d2455684baea64624723131640a7e Mon Sep 17 00:00:00 2001 From: Lukas Date: Wed, 10 Nov 2021 13:09:36 +0100 Subject: [PATCH] fix: replicate in frankfurt (#140) --- scripts/helpers/pinata.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/scripts/helpers/pinata.js b/scripts/helpers/pinata.js index cfdfd6e4d..2f8d8fc91 100644 --- a/scripts/helpers/pinata.js +++ b/scripts/helpers/pinata.js @@ -46,6 +46,20 @@ const cleanupAndPin = async () => { pinataMetadata: { name: PIN_ALIAS, }, + pinataOptions: { + customPinPolicy: { + regions: [ + { + id: 'FRA1', + desiredReplicationCount: 1, + }, + { + id: 'NYC1', + desiredReplicationCount: 1, + }, + ], + }, + }, }); return result.IpfsHash; } catch (e) {