From ae15f67cefc04f1993adb8bea8bfefa26e17e9ca Mon Sep 17 00:00:00 2001 From: serinuntius Date: Sun, 16 Apr 2023 14:46:48 +0900 Subject: [PATCH] fix # https://github.com/ethers-io/ethers.js/issues/1886#issuecomment-1063531514 --- packages/backend/app/routes/game.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/backend/app/routes/game.tsx b/packages/backend/app/routes/game.tsx index 73fca38..23747ae 100644 --- a/packages/backend/app/routes/game.tsx +++ b/packages/backend/app/routes/game.tsx @@ -114,6 +114,7 @@ export async function action({ request, context: { auth } }: ActionArgs) { // superflareでは、fetch POSTするとき現状referrerを設定しないとエラーになる const provider = new providers.JsonRpcProvider({ url: rpcUrl, + skipFetchSetup: true, fetchOptions: { referrer: rpcUrl, },