From 141517ff1b2d1dd0909f60620050c76926da8d49 Mon Sep 17 00:00:00 2001 From: Vegan Cat Date: Sat, 17 Sep 2022 22:24:15 +0430 Subject: [PATCH] Update pages/index.vue - Remove Cache-Control header from fetch in getGasUrl function - This will solve the problem of cors policy for BSC chain --- pages/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/index.vue b/pages/index.vue index 486f5ce..cfb36cf 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -343,9 +343,9 @@ export default Vue.extend({ try { const response = await fetch(this.params.getGasUrl, { method: 'GET', - headers: { - 'Cache-Control': 'no-store, max-age=0' - } + // headers: { + // 'Cache-Control': 'no-store, max-age=0' + // } }); if (!response.ok) {