Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Peksa
Copy link
Contributor

@Peksa Peksa commented Feb 5, 2022

When using docsify serve on a site which uses routerMode: history and you either refresh the page or change the site, triggering a live reload, you usually get a 404.

With this, the node connect server will serve the index file for most requests, using npm package connect-history-api-fallback.

This should solve #132

Copy link
Member

@sy-records sy-records left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@sy-records sy-records requested a review from a team February 8, 2022 00:09
@sy-records sy-records merged commit 625c9f2 into docsifyjs:master Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants