Skip to content

Navigating to / tries to load index.html from non existing location #298

@BlindDespair

Description

@BlindDespair

🐞 Bug report

Description

Navigating to a route / produces error because it tries to load index.html like https://index.html instead of using domain.

🔬 Minimal Reproduction

I have a / route in my applcication where my landing is located. It loads great if it's the first page I am asking for, however when I try to navigate there from another page with a routerLink it fails to load.

💻Your Environment

Angular Version:




Angular CLI: 9.0.2
Node: 12.14.0
OS: linux x64

Angular: 9.0.1
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Ivy Workspace: Yes

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.900.2
@angular-devkit/build-angular     0.900.2
@angular-devkit/build-optimizer   0.900.2
@angular-devkit/build-webpack     0.900.2
@angular-devkit/core              9.0.0-rc.8
@angular-devkit/schematics        9.0.0-rc.8
@angular/cdk                      9.0.0
@angular/cli                      9.0.2
@ngtools/webpack                  9.0.2
@schematics/angular               9.0.0-rc.8
@schematics/update                0.900.2
rxjs                              6.5.4
typescript                        3.6.4
webpack                           4.41.2

Scully Version:




0.0.70

🔥 Exception or Error




Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions