From 64ad2f0608d4059d07c4ca94d6bf73bc8f624275 Mon Sep 17 00:00:00 2001 From: eurakilon Date: Wed, 26 Jul 2017 18:33:59 +0200 Subject: [PATCH] update from github route fix --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 26d0f93..b9fafa0 100644 --- a/index.php +++ b/index.php @@ -179,7 +179,7 @@ function user_can_do ($action_name, $project_type) { throw new \ErrorException($message, 0, $severity, $file, $line); }); // Define app routes -$app->get('/update-from-github', function ($request, $response, $args) { +$app->post('/update-from-github', function ($request, $response, $args) { $result = []; $output = ''; exec("rm -rf " . __DIR__ . "/src/templates/twig_cache/*");