diff --git a/public/index.php b/public/index.php index b9e7b65..362c1a3 100644 --- a/public/index.php +++ b/public/index.php @@ -11,7 +11,7 @@ $uri = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); $route = $_GET['route'] ?? str_replace('/api/', '', $uri); $route = trim($route, '/'); -if ($route === 'verify' || $route === 'v.php') { +if ($route === 'verify' || $route === 'v.php' || $route === 'v1/verify') { $id = $_GET['id'] ?? null; require_once APP_PATH . '/modules_app/invoices/verify_public.php'; exit;