/http-single-serve

⚙️ HTTP server for use with single page applications.

Primary LanguageJavaScript

Important

This package has been deprecated in favor of the newer, more robust, http-simple-serve package.

http-single-serve

⚙️ HTTP server for use with single page applications.

NPM Version

Install

$ npm install http-single-serve

Usage

const http = require('http-single-serve');

http({
    port: process.env.PORT || 5000,
    root: 'dist/',
    entry: 'index.html',
});