feat: add demo mode (#1097)

* feat: add demo mode

* feat: add demo mode

* Update app.conf

* Update authz.go

* Update authz.go

Co-authored-by: Yang Luo <hsluoyz@qq.com>
This commit is contained in:
cofecatt
2022-09-04 21:20:19 +08:00
committed by GitHub
parent 35676455bc
commit 7599e2715a
3 changed files with 31 additions and 1 deletions

View File

@ -16,4 +16,5 @@ verificationCodeTimeout = 10
initScore = 2000
logPostOnly = true
origin =
staticBaseUrl = "https://cdn.casbin.org"
staticBaseUrl = "https://cdn.casbin.org"
isDemoMode = false