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