ljw 1 год назад
Родитель
Сommit
ae2e78e373
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 0
      conf/admin/hello.html
  2. 2 2
      conf/config.yaml
  3. 0 1
      conf/hello.html

+ 1 - 0
conf/admin/hello.html

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

+ 2 - 2
conf/config.yaml

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

+ 0 - 1
conf/hello.html

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