Configuring historyApiFallback when using multiple entry points #1274
Comments
Neutrino 9 already supports multiple entrypoints via the Looking at the upstream implementation: ...it seems that the provided URL is used directly and not normalised - so perhaps the leading If that works, it would be good to file an issue against Failing that, |
Wow, that did it. You're the best @edmorley! Thank you. |
@helfi92 I don't suppose you had a chance to do this ^? :-) |
This was done in bripkens/connect-history-api-fallback@e931cce :) |
Oh awesome, thank you :-) |
Bug? Issue?
9.0.0-rc.0
yarn v1.12.3
10.0.0
macOS High Sierra
I'm trying to have the
/docs
path of the site point to a separate entry point and everything else to the main index entry. In other words, I am trying to operate 2 SPA in the same site. This will be useful for us when we decide not to show a part of the application (e.g., only ship the docs).I modified the mains options in
.neutrinorc.js
and added a rewrite:Added a
docs
entry pointWhenever the user navigates to a url that starts with
/docs
, navigate the user to the second entry pointThe docs view is loaded
The browser throws
Cannot GET /docs
when I typehttp://localhost:5080/docs
in the url bar and press enter. Here's the branch with the changes: taskcluster/taskcluster-web#342. Thank you.The text was updated successfully, but these errors were encountered: