Replies: 4 comments 7 replies
-
@jmmadsen what is the content of your |
Beta Was this translation helpful? Give feedback.
-
So it turns out that it actually was hitting my API on The proxy makes it look like its still just hitting the same port as React in the Network tab. |
Beta Was this translation helpful? Give feedback.
-
If you got here but your solution is not the wrong URL. if you are in mac do not use |
Beta Was this translation helpful? Give feedback.
-
I soloved it sir
…On Thu, Mar 16, 2023, 9:41 PM Elmehdi Karkaba ***@***.***> wrote:
at least you've learned to take at least two tests, and not trust just one
side
—
Reply to this email directly, view it on GitHub
<#10149 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2QQVP5R65ZSSUTL55BY4PLW4MYCZANCNFSM4UCTI4SQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I'm about to lose my mind here. I've used
"proxy": "http://localhost:8080"
in mypackage.json
for numerous other CRA projects to connect to my Express backend with no issues. However, in my new project I cannot get it to work. I've even installedhttp-proxy-middleware
and create asetupProxy.js
, but with no luck. No matter what I do, my axios requests keep hittinglocalhost:3000
(where my CRA is running).This is my
package.json
:And this is my App.js with relevant routing.
Any ideas? I've restarted my computer multiple times.
Beta Was this translation helpful? Give feedback.
All reactions