acme.js-ARCHIVED/examples/http-server.js

8 lines
212 B
JavaScript

'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());
});