mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 12:19:31 +02:00
added for testing, mode no-cors
This commit is contained in:
@@ -4,6 +4,7 @@ import { BackendApiUrl } from '@/properties/Сonfig.js';
|
|||||||
export async function Post(url = "", data = {}) {
|
export async function Post(url = "", data = {}) {
|
||||||
try {
|
try {
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
|
mode: 'no-cors',
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
|||||||
Reference in New Issue
Block a user