Suemor
Suemor
可以去这里下载 0.3.8 版本 https://macapp.org.cn/app/pd-runner.html
https://suemor.com
> 我就是按照这个教程来的,还是出现了这个问题 看下后端 docker-compose.yml environment 字段里, ALLOWED_ORIGINS 有没有填上前端的域名
> ### Describe the bug > 在 GitHub 后台 callback 地址填写为 https 时,登陆显示 redirect_uri 不一致,改为 http 即可。 > >  > > 但改为 http 后 GitHub 授权登录后跳转出错,如下图: > > ...
获取到的是 http 是后端反代的问题, 后端 nginx 里面加上 `proxy_set_header X-Forwarded-Proto $scheme;` 就可以了
> https://cathylee.xyz/api/v2/aggregate?theme=shiro 要在本地运行的话,后端 docker-compose.yml ALLOWED_ORIGINS 里需要加上 `localhost:*,127.0.0.1:*`