fix catchall log string
This commit is contained in:
@@ -211,7 +211,7 @@ async function processPath(socket, service_vault_file_path, request_headers = ne
|
|||||||
while (service_check_dir.join(path.sep) != service_vault_dir) {
|
while (service_check_dir.join(path.sep) != service_vault_dir) {
|
||||||
var catchall_file = service_check_dir.join(path.sep) + path.sep + minisrv_catchall_file_name;
|
var catchall_file = service_check_dir.join(path.sep) + path.sep + minisrv_catchall_file_name;
|
||||||
if (fs.existsSync(catchall_file)) {
|
if (fs.existsSync(catchall_file)) {
|
||||||
if (!minisrv_config.config.debug_flags.quiet) console.log(" * Found catchall at " + catchall_file + ".html to handle request (HTML Mode) [Socket " + socket.id + "]");
|
if (!minisrv_config.config.debug_flags.quiet) console.log(" * Found catchall at " + catchall_file + " to handle request (JS Interpreter Mode) [Socket " + socket.id + "]");
|
||||||
equest_headers.service_file_path = catchall_file;
|
equest_headers.service_file_path = catchall_file;
|
||||||
var jscript_eval = fs.readFileSync(catchall_file).toString();
|
var jscript_eval = fs.readFileSync(catchall_file).toString();
|
||||||
// don't pass these vars to the script
|
// don't pass these vars to the script
|
||||||
|
|||||||
Reference in New Issue
Block a user