From ae2e78e373ae2bbac8c6289d686b6aa5c955644a Mon Sep 17 00:00:00 2001
From: ljw <84855512@qq.com>
Date: Tue, 12 Nov 2024 08:43:49 +0800
Subject: [PATCH] up admin conf
---
conf/admin/hello.html | 1 +
conf/config.yaml | 4 ++--
conf/hello.html | 1 -
3 files changed, 3 insertions(+), 3 deletions(-)
create mode 100644 conf/admin/hello.html
delete mode 100644 conf/hello.html
diff --git a/conf/admin/hello.html b/conf/admin/hello.html
new file mode 100644
index 0000000..8afb8f3
--- /dev/null
+++ b/conf/admin/hello.html
@@ -0,0 +1 @@
+👏👏👏 你好 {{username}}, 欢迎使用 RustDesk Api Admin
\ No newline at end of file
diff --git a/conf/config.yaml b/conf/config.yaml
index f6d2710..76825be 100644
--- a/conf/config.yaml
+++ b/conf/config.yaml
@@ -4,8 +4,8 @@ app:
register: false #是否开启注册
admin:
title: "RustDesk Api Admin"
- hello-file: "./conf/hello.html" #优先使用file
- hello: "👏 你好 {{username}}, 欢迎使用 RustDesk Api Admin。 Github"
+ hello-file: "./conf/admin/hello.html" #优先使用file
+ hello: ""
gin:
api-addr: "0.0.0.0:21114"
mode: "release" #release,debug,test
diff --git a/conf/hello.html b/conf/hello.html
deleted file mode 100644
index 8f0f1ac..0000000
--- a/conf/hello.html
+++ /dev/null
@@ -1 +0,0 @@
-👏👏👏 你好 {{username}}, 欢迎使用 RustDesk Api Admin。 Github
\ No newline at end of file