Ratnesh-Team / Rehabify

The Path to a Brighter Tomorrow "
https://rehabify.ratn.tech
MIT License
14 stars 25 forks source link

User Registration Error in Manage NMK Section Due to Circular JSON Structure and CORS Policy #106

Open amitb0ra opened 1 day ago

amitb0ra commented 1 day ago

Describe the bug When trying to add a user in the "Manage NMK" section, an error occurs due to circular JSON structure and CORS policy restrictions, resulting in a failed API request.

To Reproduce Steps to reproduce the behavior:

  1. Go to the "Manage NMK" section and add user.
  2. Fill out the user registration form with valid data.
  3. Click on the 'Register' button.
  4. Observe the error messages in the console.

Expected behavior The form should successfully convert the data to JSON and send a POST request without any errors. The API should allow cross-origin requests from the specified origin.

Screenshots image

ratnesh-maurya commented 5 hours ago

hi @amitb0ra , its due to someone didn't chnage the backend url in code , its not bug , Thanks for informing

amitb0ra commented 5 hours ago

okay, can i fix that?