Socket
Socket
Sign inDemoInstall

@easy-team/koa-history-api-fallback

Package Overview
Dependencies
0
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @easy-team/koa-history-api-fallback

Provides a fallback for non-existing directories so that the HTML 5 history API can be used for Koa.


Version published
Maintainers
1
Install size
7.22 kB
Created

Changelog

Source

v1.0.0

This version introduces a fair amount of breaking changes. Specifically, instances of the historyApiFallback need to be created via the exported function. Previously, this was not necessary.

  • Breaking: Support multiple instances of the historyApiFallback middleware with different configurations.
  • Breaking: Loggers are configured per historyApiFallback middleware instance (see README.md).
  • The fallback index HTML file can be configured. Default is /index.html.
  • Additional rewrite rules can be defined via regular expressions.

Readme

Source

@easy-team/koa-history-api-fallback

Fork koa-history-api-fallback and Publish a new version to resolve the issue

Install

npm install @easy-team/koa-history-api-fallback --save-dev

Usage

see koa-history-api-fallback

FAQs

Last updated on 03 Apr 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc