Open mhmdtshref opened 5 years ago
https://github.com/FACK1/fid-or/blob/237efa19fb1ea0d38b98eb9e85c9d8fe0d74fb16/src/handler.js#L7
I think it's better to use path module to write the URLs for files, so you need to use it line this:
path
const htmlPath = path.join(__dirname, "..", "Public", "index.html");
I mean you shouldn't type the slashes.
Thank you for your feedback :)
https://github.com/FACK1/fid-or/blob/237efa19fb1ea0d38b98eb9e85c9d8fe0d74fb16/src/handler.js#L7
I think it's better to use
path
module to write the URLs for files, so you need to use it line this:I mean you shouldn't type the slashes.