Skip to content

Conversation

PengBoUESTC
Copy link

if we add base config in mpa mode, the createRewire will not create a correct regex for url path, because connect-history-api-fallback use pathname to math the middleware regex, which value is base + xx.html

eg:

base: /testbase/

createRewire regex: for other.html is /^\/other.html*/

connect-history-api-fallback pathname for match is /testbase/other.html

@PengBoUESTC
Copy link
Author

for #162

@PengBoUESTC
Copy link
Author

@anncwb need review

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.

1 participant