Closed noctera closed 3 years ago
Hi!
Try to specify the absolute path as a parameter for sendfile
. If it will work then you have to check the current directory for your process.
I got it running with the absolute path, but somehow, when specifying the path of the current directory, it does not work
Ok solved it. Somehow it worked with
"../src/adminPanel/index.html"
I had to get out of the directory and cd into it again. Strange but luckily it solved the problem. Thanks for your help :)
I want to send a Html file to the user
but the console is always telling me
Could someone help me? The html file is located in
./adminPanel/index.html