It looks like thereâs a typo in the folder name âStandloneGamesâ. Should it be âStandaloneGamesâ?
Ensure that the âGAME_URLâ path resolves correctly within the Render server. Consider using relative paths rather than absolute ones.
On a side note, any reason for not directly deploying the single index.html? Whatâs the role of the âTetrisWrapperâ component in this setup? And is React essential here?
Hello ,
-So in all the project i have used âStandloneGamesâ ! (without âaâ)
-Using absolute path , I have succeeded one time to run the component correctly ! (but when i have tried to add more routes i I lost them all !)
-âTetrisWrapperâ is used for styling reason (using styled components)
Iâll try another time to present the problem (it works fine locally) :
This is a global image:
Iâm not entirely certain about the steps youâve taken, but it seems you might be encountering a 404 error due to missing static files. Without direct access to your service, itâs challenging to pinpoint the issue, even with the screenshots youâve provided.
To address this, ensure youâve set up re-writes to direct incoming requests to your index.html or to your client-side router.
These errors are related to your code, and thereâs limited assistance I can offer without access to it. Iâd recommend using Google to troubleshoot the issues youâre encountering. If you need further assistance from us, please share the steps youâve taken and any other relevant details.