HGthecode / thinkphp-apidoc

ThinkPHP 注释自动生成API文档,在线调试,代码生成器,Markdown文档
https://hgthecode.github.io/thinkphp-apidoc/
MIT License
133 stars 26 forks source link

看报错信息像是请求的地址与你的项目地址不一致,请检查前端配置文件`/apidoc/config.js`中的HTTP.HOSTS配置是否配置正确,可参考文档[https://hg-code.gitee.io/thinkphp-apidoc/config/page/#http-hosts](https://hg-code.gitee.io/thinkphp-apidoc/config/page/#http-hosts)如果是当前站点,可清空HOSTS配置 #61

Closed htdage closed 1 year ago

htdage commented 1 year ago
    看报错信息像是请求的地址与你的项目地址不一致,请检查前端配置文件`/apidoc/config.js`中的HTTP.HOSTS配置是否配置正确,可参考文档[https://hg-code.gitee.io/thinkphp-apidoc/config/page/#http-hosts](https://hg-code.gitee.io/thinkphp-apidoc/config/page/#http-hosts)如果是当前站点,可清空HOSTS配置

Originally posted by @HGthecode in https://github.com/HGthecode/thinkphp-apidoc/issues/60#issuecomment-1276980904