adrianhajdin / healthcare

Build a healthcare platform that streamlines patient registration, appointment scheduling, and medical records, and learn to implement complex forms and SMS notifications.
https://jsmastery.pro
2.02k stars 508 forks source link

Fix for anyone getting an error when trying to create new user #42

Open belalelmi opened 2 months ago

belalelmi commented 2 months ago

If you're getting the following error in the browser console:

`An error occurred while creating a new user: TypeError: Failed to construct 'URL': Invalid URL`

make sure you have "user server"; as the first line in patient.actions.ts

see example #below: # Screenshot

Screenshot