Hello,
I created a json file in my glitch project and when I try to get the two information with snekfetch, nothing is happening
Can someone help me pls
Hello,
I created a json file in my glitch project and when I try to get the two information with snekfetch, nothing is happening
Can someone help me pls
Hello, we are going to need some code to assist you.
Hi Pasxal and welcome,
I think your Glitch project needs some more setup in order to serve the data.json
file.
(other readers, you can see the code at https://glitch.com/~sixth-standing-grouse as the project is public)
Two approaches:
hello-webpage
, add your data.json file, and see if you can access that… not sure if this will work, but try it.hello-express
and put data.json
in the /public
folder. The public folder is configured to expose its files at the root URL of the site (e.g. myproject.glitch.me/data.json
Hope it helps
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.