【问题标题】:localhost:3000/home.html opens google search in chromelocalhost:3000/home.html 在 chrome 中打开谷歌搜索
【发布时间】:2018-08-09 09:23:14
【问题描述】:

每当我在 chrome 中打开 localhost:3000/home.html 时,chrome 不会将其识别为 URL,而是将其识别为搜索词。

localhost:3000/home.html# 可以正常工作。 localhost:3000/projects.html 也可以。 (以及任何其他网址)

这是什么原因造成的?其他人有这个问题吗?

【问题讨论】:

  • 这是一个很长的镜头,但是你能检查一下 \ect\hosts 文件并看到localhost:3000/home.html 在列表中吗?
  • 这个答案为我解决了这个问题:stackoverflow.com/a/52487944/2924547。 Chrome 处理历史条目似乎存在问题。

标签: google-chrome url webpack gulp


【解决方案1】:

我没有这样的问题,但你可以试试 http://

(例如:http://localhost:3000/#/

【讨论】:

    猜你喜欢
    • 2016-11-22
    • 2015-11-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-03-19
    • 1970-01-01
    • 1970-01-01
    • 2012-08-19
    相关资源
    最近更新 更多