Open mrandri19 opened 9 years ago
In the documentation for the default settings it is not clear that it will serve files from the ./public directory.
./public
//1. serve with default settings var server = gls.static(); //equals to gls.static('public', 3000); server.start();
Just add //This will serve the files from the ./public directory
//This will serve the files from the ./public directory
thanks for your advice.
Also as of now i couldn't serve my files from ./public until i explicitly wrote gls.static('public', 3000);
gls.static('public', 3000);
In the documentation for the default settings it is not clear that it will serve files from the
./public
directory.Just add
//This will serve the files from the ./public directory