From 2a91ad1838854b69ab71e241752959e05b29e70a Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 7 Mar 2019 17:53:04 -0600 Subject: [PATCH] thank you redirect --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 1453f60..11d2a22 100644 --- a/index.php +++ b/index.php @@ -160,7 +160,7 @@ $router->post('/checkout', function () { unset($guest, $uuid); } - header('Location: /manage/' . $redirectUuid->toString()); + header('Location: /thank-you/' . $redirectUuid->toString()); }); $router->get('/manage/{uuid}', function ($uuid) { @@ -209,7 +209,7 @@ $router->post('/manage/{uuid}', function ($uuid) { } } - header('Location: /thank-you/'.$uuid); + header('Location: /manage/'.$uuid); }); // Run it!