Theme editor

  • If you experience issues login with Discord, reset your password and wait 3 minutes for the email!

ESX JG Mechanic - Working 100% No errors

pabblito5m

Well-known member
Joined
Sep 19, 2024
Messages
61
Reaction score
1
Points
8
Credits
4,049
Thread owner
ESX + QB CORE

Saw it posted a little bit ago and it took me like 2 mins to fix lol but this one is patched and working proof

 
Some Like This Order With Tablet

Erorr

Uncaught (in promise) TypeError: Failed to fetch (@jg-mechanic/web/dist/assets/index-C2kgfbjq.js:40)image.webp
 
Thread owner
Uncaught (in promise) TypeError: Failed to fetch (@mechanic/web/dist/assets/index-C2kgfbjq.js:40)
The issue was that the NUI front-end used absolute paths and a hardcoded URL (https://jg-mechanic/...). As a result, all fetch calls failed with TypeError: Failed to fetch. The fix was to switch to relative paths and use GetParentResourceName() to dynamically generate the NUI URL.

Since I'm doing it for free, please give me feedback and a little thank you. I'll re-fix it if there's still a problem (but normally everything should be fine!)

 
The issue was that the NUI front-end used absolute paths and a hardcoded URL (https://jg-mechanic/...). As a result, all fetch calls failed with TypeError: Failed to fetch. The fix was to switch to relative paths and use GetParentResourceName() to dynamically generate the NUI URL.

Since I'm doing it for free, please give me feedback and a little thank you. I'll re-fix it if there's still a problem (but normally everything should be fine!)

lets try bro also can u send me ur discord
 
Back
Top Bottom