r/reactjs •

Beginner's Thread / Easy Questions (May 2020)

[deleted] — view deleted post

0 Upvotes

401 comments sorted by

View all comments

Show parent comment

1

u/elrypto May 21 '20

hostme

that part of your url does not look valid, something like "https://hostmeapp.com/site.json" would be (with a domain extension)

1

u/badboyzpwns May 21 '20 edited May 21 '20

Sorry my bad! here's my actual server:

https://music-json-server.now.sh/db.json/

And my actual code:

 axios.get ("https://music-json-server.now.sh/db.json/ ")

and I'm still listening on Port:5000, if it helps. I feel like that's part of the problem?