diff --git a/src/Router.php b/src/Router.php index f20e081..02131dd 100644 --- a/src/Router.php +++ b/src/Router.php @@ -74,7 +74,7 @@ class Router{ * @return void */ public static function redirect(string $url, bool $stop = true){ - header('Location: '.$url); + header('Location: /'.$url); if($stop) exit(); }