且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Firebase部署显示欢迎屏幕

更新时间:2023-12-06 16:36:46

我认为您可能打开了错误的网址.如果localhost表示安装已完成,则您不应期望在localhost中看到托管网站,而应该在 firebase部署为您提供的链接上看到.

I think you may be opening the wrong url. If localhost says the setup is complete, you shouldn't expect to see your hosted website in localhost, but rather at the link which firebase deploy provided for you.

在您的情况下,应为 https://gouvproject-64316.firebaseapp.com (在控制台或终端中查看托管网址).请记住, localhost 地址是在您的设备本地托管的,这意味着只有您自己,其他任何人都无法访问它们.这是在PC上设置服务器(即通过node.js)时要做的.相反,托管网站由托管服务提供商远程保存在服务器中(在这种情况下,由Firebase通过 firebase deploy 完成),并在全球范围内具有唯一性.任何人都可以访问的地址.

In your case, that should be https://gouvproject-64316.firebaseapp.com (take a look at Hosting URL in your console or terminal). Keep in mind that localhost addresses are hosted locally within your device so that means no one else has access to them but you. This is what you do when you setup a server on your pc (i.e. through node.js) . On the contrary, hosted websites are saved in a server remotely by a hosting service provider (in this case done by Firebase through firebase deploy) and are given a public worldwide-unique address for anyone to be able to visit them.

我访问了页面URL,顺便说一句,您的网站似乎托管得很好!如果您需要任何相关帮助,请随时询问.

I visited the page url and your website seems to be hosted just fine, by the way! If you need help in anything related, don't hesitate to ask.

希望这有帮助,Panos:).

Hope this helped, Panos :).