-1
I’m a beginner in the forum (in Node.js and html as well) so any errors warn.
I wanted to make a local server with Node.js (server.js), code below:
This code should show the contents of the following code in html (index.html), code below:
The problem is that on the web page returns the error 'File not found! ' (provided in the javascript code if it returned error):
Both files are in the same folder:
Apparently the server starts normally, the problem is really at the time of finding the html file. Would anyone know why you’re not finding the file?
thanks worked ak
– Alexandre Borlini