mirror of
https://github.com/LingChair/LingChair-V0.git
synced 2025-12-08 01:55:50 +08:00
chore: 规范命名
This commit is contained in:
17
server_src/http-api.js
Normal file
17
server_src/http-api.js
Normal 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
|
||||
Reference in New Issue
Block a user