acme.js/examples/http-server.js

8 lines
212 B
JavaScript
Raw Permalink Normal View History

2018-04-16 01:04:06 +00:00
'use strict';
var http = require('http');
var express = require('express');
var server = http.createServer(express.static('../tests')).listen(80, function () {
console.log('Listening on', this.address());
});