add no cors

This commit is contained in:
Hepatica
2023-12-02 06:02:39 +01:00
parent 38e9b34df6
commit 4f44fa9255

View File

@@ -27,6 +27,7 @@ export async function GetCurrentMoney(authToken, searchToken) {
try {
const response = await fetch(`${BackendApiUrl}/Payment/GetCurrentMoney`, {
method: 'GET',
mode: 'no-cors',
redirect: 'follow',
headers: {
'AUTHTOKEN': authToken,