Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[Express middleware] History api fallback middleware

Express middleware for single page apps with client side routing.

Works as a middleware for Express.js servers. Can be used as either an application middleware or a router middleware.

MIT License Semver

Installation

npm i express-history-api-fallback-middleware --save-dev

Usage

const express = require('express');
const webpackHistoryApiFallback = require('express-history-api-fallback-middleware');

const server = express();
server.use(webpackHistoryApiFallback());

About

A tiny history api fallback for single page apps running on the Express server with webpack bundler

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages