feat: implement backend server with SQLite logging and target validation middleware
Deploy Backendia / deploy (push) Successful in 40s
Deploy Backendia / deploy (push) Successful in 40s
This commit is contained in:
+1
-1
@@ -835,7 +835,7 @@ async function startServer() {
|
|||||||
try {
|
try {
|
||||||
await nextApp.prepare();
|
await nextApp.prepare();
|
||||||
const handle = nextApp.getRequestHandler();
|
const handle = nextApp.getRequestHandler();
|
||||||
app.all('*', (req, res) => handle(req, res));
|
app.use((req, res) => handle(req, res));
|
||||||
console.log("Dashboard Next.js initialisé avec succès.");
|
console.log("Dashboard Next.js initialisé avec succès.");
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error("Erreur d'initialisation du Dashboard Next.js:", err);
|
console.error("Erreur d'initialisation du Dashboard Next.js:", err);
|
||||||
|
|||||||
Reference in New Issue
Block a user