You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I've been using the proxy field in package.json to proxy all fetch requests to the backend, which works flawlessly, but what if I want to redirect the user to an API page? I can't use an anchor tag that has an href of /apipage since it will redirect to the web app, not the API page. Does anyone know if there's a way to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So I've been using the
proxy
field inpackage.json
to proxy all fetch requests to the backend, which works flawlessly, but what if I want to redirect the user to an API page? I can't use an anchor tag that has anhref
of/apipage
since it will redirect to the web app, not the API page. Does anyone know if there's a way to do this?Beta Was this translation helpful? Give feedback.
All reactions