我正在开发一个 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 ()
Run Code Online (Sandbox Code Playgroud)
https://i.stack.imgur.com/T9IQv.png
谢谢。