无法获取/index.com [英] Cannot GET /index.com
问题描述
我正在尝试访问我的Angular Web应用程序,直到最近无法打开该网站为止,一切都很好,错误消息为
I am trying to access my angular web app , it has been fine until recently the web site could not be opened, the error message is
Cannot GET /index.com. Any chance anyone know what is the reason?
Thank you
Liang
推荐答案
您需要澄清一下,您在哪个区域托管了WebApp?您收到的确切/完整的错误消息是什么? 能否请您提供有关应用配置和所使用平台(Windows或Linux)的更多详细信息?
Just to clarify, on which region have you hosted your WebApp? What is the exact/complete error message you receive? Could you please provide more details on your app’s configuration and the platform (Windows or Linux) you are leveraging?
确保默认文档和配置server.listen(process.env.PORT)已正确设置.请参阅 了解详情.
Ensure that the default document and the configuration server.listen(process.env.PORT) are appropriately set. Refer the blog for more details.
如果可行,您可以重新启动WebApp,然后检查是否有帮助.
If feasible, you may restart the WebApp and then check to see if that helps.
这篇关于无法获取/index.com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!