i have a web game which takes its data by fetch('wordbank.json') but when i try doing the same thing locally it dosent use that file.
the rest of the files work so i thought i dont need to add anything complicated but it seens like fetch only works because the compiler has a specific location for it somehow asigned, while when its run from a folder it dosent notice the json file, even tho it notices the style and script files.
is there a way to make it run locally and use the neccesary files to function.
No answers yet!
1 year ago by ivo vuskans