Trisha-tech / OnlineBookSales

This project named Online Book Sales - Backend deals with developing an e-commerce website for Online Book Sale. It provides the user with a catalog of different books available for purchase in the store. In order to facilitate online purchase, a shopping cart is provided to the user.
https://book4u-j5au.onrender.com/
MIT License
111 stars 184 forks source link

[Bug]: Wishlist Page Sending Requests to localhost:8080 in Production & 404 Error on Direct Access #485

Open amitb0ra opened 1 day ago

amitb0ra commented 1 day ago

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:

Steps to Reproduce:

  1. Navigate to the wishlist page on the deployed site (https://book4u-j5au.onrender.com/wishlist).
  2. Inspect the console to see the request being sent to localhost:8080.
  3. 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

Add ScreenShots

Wishlist Page Sending Requests to localhost:8080 in Production: image

404 Error on Direct Access: image

On which device are you experiencing this bug?

Chrome

Record

github-actions[bot] commented 1 day ago

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.