Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
KotsiosDimis committed Dec 19, 2024
1 parent f8b0576 commit c612933
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions blokus.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
require_once "lib/users.php";
require_once "lib/version.php";
//require_once "lib/router.php";
require_once "lib/lobbys.php";

class Router {
private $routes = [];
Expand Down Expand Up @@ -99,6 +100,9 @@ public function routeRequest($input) {
$router->add('POST', 'users/logout', 'logoutUser'); // POST /users/logout -> logoutUser function
$router->add('GET', 'users/session', 'checkSession'); // GET /users/session -> checkSession function

//lobby functions



// Handle the request
$input = json_decode(file_get_contents('php://input'), true);
Expand Down

0 comments on commit c612933

Please sign in to comment.