egg-history-api-fallback
v2.0.1
Published
egg Middleware to proxy requests through a specified index page, useful for Single Page Applications that utilise the HTML5 History API
Downloads
22
Readme
forked from bripkens/connect-history-api-fallback
egg-history-api-fallback
Install
$ npm i egg-history-api-fallback --save
Usage
// {app_root}/config/plugin.js
exports.historyApiFallback = {
enable: true,
package: 'egg-history-api-fallback',
};
Configuration
// {app_root}/config/config.default.js
exports.historyApiFallback = {
};
see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.