fix auth for webapi

This commit is contained in:
ginuerzh
2022-02-12 21:32:32 +08:00
parent f2d806886a
commit a8804ea02d
3 changed files with 34 additions and 53 deletions

View File

@ -1,13 +0,0 @@
api:
addr: :18080
accesslog: true
pathPrefix: /api
auth:
username: gost
password: gost
auther: auther-0
authers:
- name: auther-0
auths:
- username: gost1
password: gost1