add admin conf

This commit is contained in:
ljw
2024-11-11 22:26:15 +08:00
parent 15a518c1ac
commit 7bb2ce0a43
5 changed files with 102 additions and 1 deletions

View File

@@ -2,6 +2,10 @@ lang: "zh-CN"
app:
web-client: 1 # 1:启用 0:禁用
register: false #是否开启注册
admin:
title: "RustDesk Api Admin"
hello-file: "./conf/hello.html" #优先使用file
hello: "👏 你好 <strong>{{username}}</strong>, 欢迎使用 RustDesk Api Admin。 <a href='https://github.com/lejianwen/rustdesk-api' target='_blank'>Github</a>"
gin:
api-addr: "0.0.0.0:21114"
mode: "release" #release,debug,test

1
conf/hello.html Normal file
View File

@@ -0,0 +1 @@
👏👏👏 你好 <strong>{{username}}</strong>, 欢迎使用 RustDesk Api Admin。 <a href='https://github.com/lejianwen/rustdesk-api' target='_blank'>Github</a>