Replies: 1 comment
-
This has nothing to do with Preact 😅 This might be due to a CORS/networking error but we don't have any impact on how your fetches work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am running preact in a Node Docker, and a rest-api in a phpapache docker.
When i log in the node docker I can execute:
which correctly returns a json.
But in de react-app is a function that does something similar:
which fails with an error:
TypeError: Failed to fetch
Beta Was this translation helpful? Give feedback.
All reactions