How do I load a .json file via HTML5 exported File

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By KramchayDig

I successfuly load my exported HTML5 project from this: https://forum.godotengine.org/46966/failed-loading-file-my-game-wasm

I’m having troubles with my HTML5, I did successfully load my exported HTML5 but the problem is I can’t load the .json file my game would load nothing. My .exe file DOES load my .json file but not for HTML5. Does anyone had any clues in getting it to work?

:bust_in_silhouette: Reply From: MiltonVines

Hey. I’m not an expert in games, but maybe this article from JSON objects will help you understand your situation
https://javascript.info/json

:bust_in_silhouette: Reply From: grousseau

Hi,
When you export your project with html5, you need to go to ressources and add *.json on the filters.