-
Notifications
You must be signed in to change notification settings - Fork 12k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
valid app URL containing a period results in "Cannot GET" error #2168
Comments
ping |
Actually, a period anywhere in the URL causes this problem (Dart API URLs contain periods because of periods in library names like |
+1 |
One way how I resolved this temporary is stop using html5 style and use hashstrategy instead |
As context, there seems to be a solution in webpack/webpack-dev-server#303 but it requires rewriting on a case-by-case basis, which just wouldn't work for the CLI. |
I've tested it and this option fixes our issue bripkens/connect-history-api-fallback@ee86111 But it's part of It should just work due to semver though... I submitted a PR to make it explicit: webpack/webpack-dev-server#638 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
The ng2.io app has pages at URLs like
http://localhost:4200/docs/ts/latest/quickstart.html
(note the
.html
suffix). I can navigate by clicking links in the app, but if I copy-paste a valid app URL (like the previous one), I get:And if we deploy to firebase, it all works fine. How can we coerce
ng serve
into playing nice?angular-cli: 1.0.0-beta.14
node: 6.5.0
os: darwin x64
cc @filipesilva @ericjim
The text was updated successfully, but these errors were encountered: