-2

when I click on signup it redirects me to folder C or C drive of my pc and shows that on chrome instead of sending information on my hyper terminal

html

app.js

  • Seems you're a new contributor, try including the code in your post or a GitHub link where it resides. It becomes difficult for people to actually go to image and replicate the logic. – Min Yoongi Jan 22 '23 at 08:35

1 Answers1

0

As mentioned in this stackoverflow post the issue can be in your app.js as __dirname returns the directory that the currently executing script is in. In your case, it is C: drive. So provide absolute path first.

Min Yoongi
  • 396
  • 5
  • 16