Ricardo García Jiménez
Results
3
comments of
Ricardo García Jiménez
And `$path .= "; samesite=" . $sameSite;` don't work, use `setcookie($name, $value, $options)` is more simple
And this form don't work: ``` $app->route('/invoices') ->get(function ($req, $res) { $res->render('invoices'); }) ->post(function ($req, $res) { $res->json(array('status' => 'OK')); }); ```