Skip to content

Commit f8f30b2

Browse files
committed
ajuste no tratamento da home
1 parent 9a3753e commit f8f30b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/Router.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct()
3737
$this->dispatcher = FastRoute\simpleDispatcher(function(FastRoute\RouteCollector $r) {
3838
// Rota principal - página inicial
3939
// Main route - home page
40-
$r->addRoute('GET', '/', function() {
40+
$r->addRoute(['GET','POST'], '/', function() {
4141
// Inicialização das variáveis para a view principal
4242
// Initialize variables for the main view
4343
require_once __DIR__ . '/../config.php';

0 commit comments

Comments
 (0)