From eec84edada908f00ab94118a58a9f1471136bb6a Mon Sep 17 00:00:00 2001 From: Soami Charan Date: Wed, 26 Apr 2023 18:24:14 +0530 Subject: [PATCH] Update ButtonPanel.tsx --- src/ButtonPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ButtonPanel.tsx b/src/ButtonPanel.tsx index 67fe5fd..0ff0734 100644 --- a/src/ButtonPanel.tsx +++ b/src/ButtonPanel.tsx @@ -99,7 +99,7 @@ export class ButtonPanel extends PureComponent { let fetchOpts: RequestInit = { method: options.method, // *GET, POST, PUT, DELETE, etc. - mode: 'cors', // no-cors, *cors, same-origin + mode: 'no-cors', // no-cors, *cors, same-origin cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached headers: requestHeaders, redirect: 'follow', // manual, *follow, error