Firebase托管设置完成

发布于 2025-01-23 11:32:05 字数 1370 浏览 0 评论 0原文

请有人帮我解决这个问题吗?我正在尝试更新我的项目,但是我在Firebase部署方面遇到了问题。或者更确切地说,部署很好,但是我看不到我的项目在浏览器上,我总是会收到此消息:

Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

OPEN HOSTING DOCUMENTATION

在Firebase运行Firebase后收到的消息


i  deploying hosting
i  hosting[webpage-1ffe0]: beginning deploy...
i  hosting[webpage-1ffe0]: found 49 files in dist/webpage
✔  hosting[webpage-1ffe0]: file upload complete
i  hosting[webpage-1ffe0]: finalizing version...
✔  hosting[webpage-1ffe0]: version finalized
i  hosting[webpage-1ffe0]: releasing new version...
✔  hosting[webpage-1ffe0]: release complete

✔  Deploy complete!

在Firebase页面

webpage-1ffe0.web.app
default

webpage-1ffe0.firebaseapp.com
default

www.webpage.com
redirect

和Firebase.json

{
  "hosting": {
    "public": "dist/webpage",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}

Could please someone help me to fix this issue? I'm trying to update my project, but I'm having problems with firebase deploy. Or rather the deploy goes fine, but I can't see my project on the browser I always receive this message:

Firebase Hosting Setup Complete
You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

OPEN HOSTING DOCUMENTATION

The messages that I receive after running firebase deploy


i  deploying hosting
i  hosting[webpage-1ffe0]: beginning deploy...
i  hosting[webpage-1ffe0]: found 49 files in dist/webpage
✔  hosting[webpage-1ffe0]: file upload complete
i  hosting[webpage-1ffe0]: finalizing version...
✔  hosting[webpage-1ffe0]: version finalized
i  hosting[webpage-1ffe0]: releasing new version...
✔  hosting[webpage-1ffe0]: release complete

✔  Deploy complete!

My domains on Firebase page

webpage-1ffe0.web.app
default

webpage-1ffe0.firebaseapp.com
default

www.webpage.com
redirect

And my firebase.json

{
  "hosting": {
    "public": "dist/webpage",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "rewrites": [
      {
        "source": "**",
        "destination": "/index.html"
      }
    ]
  }
}

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文