Martin Dørum hace 4 años
padre
commit
1fca81ba63
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      server/filesrv.js

+ 1
- 1
server/filesrv.js Ver fichero

@@ -7,7 +7,7 @@ module.exports = function createFileServer(webroot) {
console.log(req.method+" "+req.url);
if (req.method != "HEAD" && req.method != "GET") {
res.writeHead(405);
reqsend(`Unexpected method: ${req.method}`);
res.end(`Unexpected method: ${req.method}`);
return;
}


Cargando…
Cancelar
Guardar