1.0.0 • Published 6 years ago
http-single-serve v1.0.0
http-single-serve
⚙️ HTTP server for use with single page applications.
Install
$ npm install http-single-serveUsage
const http = require('http-single-serve');
http({
port: process.env.PORT || 5000,
root: 'dist/',
entry: 'index.html',
});1.0.0
6 years ago