imgApi icon indicating copy to clipboard operation
imgApi copied to clipboard

卡在 发起Post请求...

Open o1f opened this issue 5 years ago • 1 comments

图

o1f avatar Apr 05 '19 02:04 o1f

查了下,我和你同一个错误,其实就是404无法访问 getConfig、setConfig、upImg等方法 然后手动去设置了静态重定向规则:

if (!-e $request_filename){ rewrite ^/public/api$ /public/index.php?s=api last; break; rewrite ^/public/index.php/(.*)$ /public/index.php?s=$1 last; break; }

这样写好就行了,懒得去管为什么,反正可以了


其次如果还是不行的话,---我后来再次部署遇到了错误,错误代码500 于是删除了文件夹: /runtime 然后再刷新就好了

langren1353 avatar Apr 20 '19 14:04 langren1353