Skip to content

hot reload(HMR) not work when use other domain #1935

@sanderswang

Description

@sanderswang

Version

3.0.0-rc.5

Reproduction link

http://www.baidu.com/no-url-here

Steps to reproduce

pls look the domain:

http://192.168.1.113:8080/sockjs-node/info?t=1532447208549
ws://192.168.1.113:8080/sockjs-node/095/w330zyvl/websocket
http://www.dev..com/b0b2f0652cccee4c5b96.hot-update.json

when:

  • my url is "www.dev.com/test.htm", and <script type="text/javascript" src="http://192.168.1.113:8080/js/pingjia4.js"></script> in test.htm.
  • vue-cli-server, listen to "http://192.168.1.113:8080/"

What is expected?

the domain is wrong

What is actually happening?

the domain is wrong


sanderswang@gmail.com

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions