From fdae636637fada61b527ad6fcdaba80411bee4e8 Mon Sep 17 00:00:00 2001 From: Cuishibing <643237029@qq.com> Date: Sat, 25 Apr 2026 23:19:38 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 静态页面支持 - 创建 Key、上传、下载、删除文件 --- public/index.html | 211 ++++++++++++++++++++++++++++++++++++++++++++++ src/index.js | 2 + 2 files changed, 213 insertions(+) create mode 100644 public/index.html diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..106de11 --- /dev/null +++ b/public/index.html @@ -0,0 +1,211 @@ + + + + + + 对象存储管理 + + + +
+

对象存储管理

+ +
+

初始化

+
+ + +
+ +
+ + + + + + +
+ + + + \ No newline at end of file diff --git a/src/index.js b/src/index.js index f4428aa..8398abb 100644 --- a/src/index.js +++ b/src/index.js @@ -7,6 +7,8 @@ const path = require('path'); const app = express(); app.use(express.json()); +app.use(express.static('public')); + const routes = require('./routes'); app.use('/api', routes);