You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
valid app URL containing a period results in "Cannot GET" error #2168
changed the title [-]valid app URL (ending with .html) results in "Cannot GET" error[/-][+]valid app URL containing a period results in "Cannot GET" error[/+]on Oct 3, 2016
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.
Activity
chalin commentedon Sep 30, 2016
ping
[-]valid app URL (ending with .html) results in "Cannot GET" error[/-][+]valid app URL containing a period results in "Cannot GET" error[/+]chalin commentedon Oct 3, 2016
Actually, a period anywhere in the URL causes this problem (Dart API URLs contain periods because of periods in library names like
angular2.common).@naomiblack
denkomanceski commentedon Oct 5, 2016
+1
denkomanceski commentedon Oct 5, 2016
One way how I resolved this temporary is stop using html5 style and use hashstrategy instead
filipesilva commentedon Oct 5, 2016
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.
filipesilva commentedon Oct 5, 2016
I've tested it and this option fixes our issue bripkens/connect-history-api-fallback@ee86111
But it's part of
1.3.0ofconnect-history-api-fallbackwhich is not yet required bywebpack-dev-server: https://github.com/webpack/webpack-dev-server/blob/master/package.json#L11 .It should just work due to semver though... I submitted a PR to make it explicit: webpack/webpack-dev-server#638
fix(serve): enable routes with dots
fix(serve): enable routes with dots
fix(serve): enable routes with dots
fix(serve): enable routes with dots
fix(serve): enable routes with dots
fix(serve): enable routes with dots (#2535)
fix(serve): enable routes with dots (#2535)
fix(serve): enable routes with dots (angular#2535)
fix(serve): enable routes with dots (angular#2535)
angular-automatic-lock-bot commentedon Sep 6, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(serve): enable routes with dots (angular#2535)