Gerapy/Gerapy

如api/index/status/、api/client/,末尾“/”结尾的接口都报401

jiangslee opened this issue · 1 comments

api/index/status/ api/client/末尾“/”结尾的接口都报401.

Screenshots
image
image

我的运行环境

  • macOS 11.5
  • Python 3.9.6
  • Gerapy 0.9.7
  • 已运行命令gerapy initgerapy migrategerapy createsuperusergerapy runserver 0.0.0.0:8000

我的解决方案:

打开 server/core/urls.py ,将/$替换为$,重新runserver问题解决

image

image
image

Fixed by #208, thanks for your contribution!