git ssb

0+

cel-desktop / ssb-pkg



Tree: efcf9fd06b02fa9bcd28681b4c777224e19702bb

Files: efcf9fd06b02fa9bcd28681b4c777224e19702bb / test / test-79-npm / http-server / http-server.js

300 bytesRaw
1'use strict';
2
3var http = require('http');
4process.argv.push('--silent');
5require('http-server/bin/http-server');
6setTimeout(function () {
7 http.get('http://127.0.0.1:8080/package.json', function (res) {
8 if (res.statusCode) {
9 console.log('ok');
10 process.exit();
11 }
12 });
13}, 5000);
14

Built with git-ssb-web