You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我也遇到相同的问题。楼上的这种解决方式,适合于本地调试,直接修改插件的源码。但是如果持续构建部署到服务器(举例docker),可以在你的.Dockerfile文件中,新增语句: RUN sed -i 's/swagger-doc/你的basePath\/swagger-doc/g' ./node_modules/egg-swagger-doc/app/public/swagger-ui.html
线上:
本地:
由于线上会增加一个路由的前缀,会导致无法加载API
The text was updated successfully, but these errors were encountered: