Skip to content

Commit 5cf781c

Browse files
committed
Ruta
1 parent 1d50cc2 commit 5cf781c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

web/index.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,11 @@
9191
// Redirect back to the database page
9292
return $response->withHeader('Location', '/db');
9393
});
94+
95+
96+
$app->get('/db', function (Request $request, Response $response) {
97+
// Aquí va la lógica para manejar la solicitud
98+
return $response->write('Hello from /db');
99+
});
100+
94101
$app->run();

0 commit comments

Comments
 (0)