Add to no cors

This commit is contained in:
Hepatica
2024-01-20 23:52:13 +01:00
parent f3df95dd8b
commit 858d11b57d

View File

@@ -36,6 +36,7 @@ export async function GetUserData(SearchToken, AUTHTOKEN) {
try { try {
const response = await fetch(`${BackendApiUrl}/GameMines/GetCurrentData`, { const response = await fetch(`${BackendApiUrl}/GameMines/GetCurrentData`, {
method: 'POST', method: 'POST',
mode: 'no-cors',
headers: { headers: {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}, },