git ssb

0+

cel-desktop / ssb-pkg



Tree: d456a6cc8589489e558e6164750474ed2cfc961e

Files: d456a6cc8589489e558e6164750474ed2cfc961e / 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