chore: 规范命名

This commit is contained in:
MoonLeeeaf
2024-05-29 17:40:10 +08:00
parent 9f456b95c1
commit 822a4ad4da
6 changed files with 559 additions and 24 deletions

17
server_src/http-api.js Normal file
View File

@@ -0,0 +1,17 @@
/*
* ©2024 满月叶
* Github: MoonLeeeaf
* 铃之椅 Node 服务端
*/
// 不得不说 express 太强了
const vals = require("./val")
const express = require("express")
let api = express()
api.use("/", express.static("ling_chair_http"))
api.use("/users_head/", express.static(vals.LINGCHAIR_DATA_DIR + "/users_head"))
module.exports = api