whisper.cat/weboasis/stocks/assets/vendor/air-datepicker-master/static-server.js
2023-10-05 23:28:32 +11:00

11 lines
269 B
JavaScript

var static = require('node-static'),
http = require('http');
var file = new static.Server('.');
http.createServer(function (request, response) {
request.addListener('end', function () {
file.serve(request, response);
}).resume();
}).listen(3000);