diff --git a/www/index.php b/www/index.php index 08c8b4e..5ca1ca5 100644 --- a/www/index.php +++ b/www/index.php @@ -28,7 +28,7 @@ $newdata = json_encode($arr); file_put_contents('links.json', $newdata); - header('Location: /submitted?newurl='.$newstring); + header('Location: /?newurl='.$newstring); } else if (null === $_GET['url'] && null !== $_GET['newurl']) { $newurl = $_GET['newurl']; diff --git a/www/static/style.css b/www/static/style.css index 70d713f..7199b37 100644 --- a/www/static/style.css +++ b/www/static/style.css @@ -32,6 +32,7 @@ h1, .footer { input[type="text"], input[type="submit"] { background-color: #683c7a; + color: #fcfcfc; border: 1px #f9f groove; border-radius: 2px; margin: 4px; auto;