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
The wishlist page is currently sending requests to localhost:8080, which causes an error in the production environment (deployed on Render). This leads to the following problems:
The ERR_CONNECTION_REFUSED error is shown in the console because it's trying to reach a non-existent local server.
Visiting https://book4u-j5au.onrender.com/wishlist directly results in a 404 Not Found.
Steps to Reproduce:
Navigate to the wishlist page on the deployed site (https://book4u-j5au.onrender.com/wishlist).
Inspect the console to see the request being sent to localhost:8080.
Observe the error message: Failed to fetch wishlist. Please try again later.
Note to Maintainer: Please assign this issue to me under GSSoC and Hacktoberfest.
Expected behavior
The API request should be directed to the correct production API URL, not localhost.
The wishlist page should load properly without resulting in a 404 error when accessed directly.
Add ScreenShots
Wishlist Page Sending Requests to localhost:8080 in Production:
404 Error on Direct Access:
On which device are you experiencing this bug?
Chrome
Record
I have read the Contributing Guidelines
I'm a GSSOC'24 contributor
I have starred the repository
The text was updated successfully, but these errors were encountered:
Hi there! Thanks for opening this issue. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.
Is there an existing issue for this?
Describe the bug
The wishlist page is currently sending requests to
localhost:8080
, which causes an error in the production environment (deployed on Render). This leads to the following problems:ERR_CONNECTION_REFUSED
error is shown in the console because it's trying to reach a non-existent local server.https://book4u-j5au.onrender.com/wishlist
directly results in a404 Not Found
.Steps to Reproduce:
https://book4u-j5au.onrender.com/wishlist
).localhost:8080
.Note to Maintainer: Please assign this issue to me under GSSoC and Hacktoberfest.
Expected behavior
localhost
.Add ScreenShots
Wishlist Page Sending Requests to localhost:8080 in Production:
404 Error on Direct Access:
On which device are you experiencing this bug?
Chrome
Record
The text was updated successfully, but these errors were encountered: