Skip to content

valid app URL containing a period results in "Cannot GET" error #2168

Closed
@chalin

Description

@chalin

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:

Cannot GET /docs/ts/latest/quickstart.html

And if we deploy to firebase, it all works fine. How can we coerce ng serve into playing nice?

  1. OS? OSX 10.11.6
  2. Versions.
    angular-cli: 1.0.0-beta.14
    node: 6.5.0
    os: darwin x64

cc @filipesilva @ericjim

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgenttype: bug/fix

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions