Ejiy / jl-laptop

Laptop script for fivem, that has boosting, darkweb, and bennys shop apps
https://justlazzy.gitbook.io/home/free-resources/jl-laptop
GNU Lesser General Public License v2.1
106 stars 65 forks source link

Type Error in Promise #74

Open dhruvHaldwani opened 3 months ago

dhruvHaldwani commented 3 months ago

Hello, When the resource 'jl-laptop-main' is loading in the server it is giving an error : [ 4084469] [b2944_GTAProce] MainThrd/ Creating script environments for jl-laptop-main [ 4084562] [b2944_GTAProce] MainThrd/ OnConnectionProgress: Mounted jl-laptop-main (1 of 1) [ 4094140] [b2944_GTAProce] CrBrowserMain/ Uncaught (in promise) TypeError: Failed to fetch (@jl-laptop-main/html/js/index.js:973)

image_2024-08-08_123849963

in the code

async function ke(e, t = {}) { const n = { method: "post", headers: { "Content-Type": "application/json; charset=UTF-8" }, body: JSON.stringify(t), }; return await (await fetch(https://jl-laptop/${e}, n)).json(); }