Update HTML5 History API on SPA's

JS
S
JavaScript

Middleware to proxy requests through a specified index page, useful for Single Page Applications that utilise the HTML5 History API.

1const history = require('connect-history-api-fallback');
2const express = require('express');
3const app = express();
4app.use(history());
5

Created on 2/21/2018