-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add proxy middleware #33
Conversation
@navidboloorian Can you describe what you did to test this before I merge it? |
Never mind, I implemented a fix which I think is more likely to work across systems. Test it yourself when you review. |
const response = await fetchRequest("GET", url, body, headers); | ||
const response = await fetchRequest("PUT", API_BASE_URL + url, body, headers); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@navidboloorian This was a little sloppy tbh, I should have looked more closely when reviewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
works on my system
Changes
What changes did you make? Include screenshots if applicable, or explain how to view the changes.
Fix "Invalid options object" error onnpm start
by usinghttp-proxy-middleware
package instead ofproxy
line inpackage.json
proxy
line fromfrontend/package.json
Testing
How did you confirm your changes work? (Automated tests, manual verification, etc.)
Not sure how this has been tested -@wllmwuTracking
Add your issue number below.
No issue was created for this bug, see Changes above