whisper.cat/weboasis/stocks/assets/vendor/air-datepicker-master/static-server.js

11 lines
269 B
JavaScript
Raw Normal View History

2023-10-05 23:28:32 +11:00
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);