功能:完善用户与项目管理框架

This commit is contained in:
Coldsmile_7
2026-06-13 00:50:11 +08:00
parent db6d6de74a
commit 49c86bc14a
25 changed files with 3571 additions and 192 deletions
+10
View File
@@ -6,6 +6,8 @@ import { bootstrap } from "./bootstrap.mjs";
import { handleAuthApi } from "./auth.mjs";
import { handleGithubApi } from "./github.mjs";
import { handleSettingsApi } from "./settings.mjs";
import { handleUsersApi } from "./users.mjs";
import { handleProjectsApi } from "./projects.mjs";
const isProduction = process.env.NODE_ENV === "production";
const port = Number(process.env.PORT || 5173);
@@ -64,6 +66,14 @@ const server = createServer(async (request, response) => {
return;
}
if (await handleUsersApi(request, response, url)) {
return;
}
if (await handleProjectsApi(request, response, url)) {
return;
}
if (await handleGithubApi(request, response, url)) {
return;
}