diff --git a/html/utils.js b/html/utils.js
index d8cfd17..46d84f1 100644
--- a/html/utils.js
+++ b/html/utils.js
@@ -15,11 +15,12 @@ export const fetchNui = async (evName, data, mockData = null) => {
const resourceName = "qb-core";
- const rawResp = await fetch(`https://cfx-nui-${resourceName}/${evName}`, {
+ const rawResp = await fetch(`https://${resourceName}/${evName}`, {
body: JSON.stringify(data),
headers: {
"Content-Type": "application/json; charset=UTF8",
},
+ method: "POST",
});
return await rawResp.json();