Skip to content

Live Reload not working with --basehref #16266

@mucbits

Description

@mucbits

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • lint
  • update
  • xi18n
  • run
  • config
  • help
  • version
  • doc

Is this a regression?

Yes, the previous version in which this bug was not present was: 0.803.13

Description

Live Reload stopped working after this change:
5260bbb#diff-6c0b312b8bd33db747e50549a66f7ab1

https://localhost:xxxx/admin/sockjs-node/info returns 404

while https://localhost:xxxx/admin/admin/sockjs-node/info exists.

🔬 Minimal Reproduction

ng serve app --base-href /admin/ --deploy-url /admin/

🔥 Exception or Error

https://localhost:xxxx/admin/sockjs-node/info returns 404

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions