feat(api): Add api token expire

Resolves #109
This commit is contained in:
lejianwen
2025-01-21 18:23:28 +08:00
parent 44fa22b7e5
commit d9fcfdde6a
5 changed files with 6 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ app:
web-client: 1 # 1:启用 0:禁用
register: false #是否开启注册
show-swagger: 0 # 1:启用 0:禁用
token-expire: 360000
admin:
title: "RustDesk Api Admin"
hello-file: "./conf/admin/hello.html" #优先使用file