Checkpoint: Application du skill itinova-user-management : authentification locale enrichie (login/email, 3 profils admin/standard/readonly), schéma DB étendu (firstName, lastName, login, isActive), page de connexion avec logo FEHAP, middleware writeProcedure pour les comptes readonly, formulaire Admin mis à jour. 33 tests Vitest passés, 0 erreur TypeScript.
This commit is contained in:
@@ -4,6 +4,7 @@ import { createServer } from "http";
|
||||
import net from "net";
|
||||
import { createExpressMiddleware } from "@trpc/server/adapters/express";
|
||||
import { registerOAuthRoutes } from "./oauth";
|
||||
import { registerStorageProxy } from "./storageProxy";
|
||||
import { appRouter } from "../routers";
|
||||
import { createContext } from "./context";
|
||||
import { serveStatic, setupVite } from "./vite";
|
||||
@@ -33,6 +34,8 @@ async function startServer() {
|
||||
// Configure body parser with larger size limit for file uploads
|
||||
app.use(express.json({ limit: "50mb" }));
|
||||
app.use(express.urlencoded({ limit: "50mb", extended: true }));
|
||||
// Storage proxy for /manus-storage/* paths
|
||||
registerStorageProxy(app);
|
||||
// OAuth callback under /api/oauth/callback
|
||||
registerOAuthRoutes(app);
|
||||
// tRPC API
|
||||
|
||||
Reference in New Issue
Block a user