Piccolo improvement

This commit is contained in:
2025-11-01 09:32:48 +00:00
parent 09ecb5c987
commit 0e7290899d

View File

@@ -142,7 +142,7 @@ app.get('/classe', async (req, res) => {
}
});
app.get('/test', (req, res) => {
app.get('/', (req, res) => {
res.json({
status: 'ok',
message: 'Server funzionante',
@@ -152,6 +152,6 @@ app.get('/test', (req, res) => {
app.listen(port, () => {
console.log(`API attiva su http://localhost:${port}`);
console.log(`Test: http://localhost:${port}/test`);
console.log(`Stato API: http://localhost:${port}/`);
console.log(`Esempio: http://localhost:${port}/classe?classe=1A`);
});