git ssb

0+

cel-desktop / ssb-pkg



Tree: 8f4b43a09aab9801bf28987edd59c2e366180327

Files: 8f4b43a09aab9801bf28987edd59c2e366180327 / 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