我正在开发一个nestjs项目,我已经添加了swagger以显示我的端点。在开发模式下运行良好,但一旦使用https://zeit.co/(现在)部署到生产环境时,端点页面显示不正确(css丢失)。在网络选项卡中,我看到了以下错误:
/favicon-32x32.png:1 Failed to load resource: the server responded with a status of 404 ()
/favicon-16x16.png:1 Failed to load resource: the server responded with a status of 404 ()
swagger-ui.css:1 Failed to load resource: the server responded with a status of 404 ()
谢谢。请看以下链接:https://istack.dev59.com/T9IQv.webp
zeit.co
。你们是如何部署到生产环境的?这个过程和部署到开发环境有什么不同吗?当你提到开发环境时,是指本地运行还是部署到一个实际的开发服务器上? - jack.benson