Closed Babitabisht closed 5 years ago
Great! Thanks for finding it! Just one advice: next time be sure to change only the necessary. You changed a lot of lines (spaces and semicolon) and it was hard to see what was really changed in the code behavior. Thanks again, you're awesome!
Thanks, @Tubaleviao, I will keep this in my mind.
There was a bug on the auth function inside function.js.
The fs.mkdirSync(dir) was throwing an error on making users/username directories recursively inside the public folder. (since the users directory inside public folder doesn't exist when the application is signing up it's first user) The bug removal includes making directories recursively inside the public folder.