route to website info page after adding new site

This commit is contained in:
Matthew Saunders Brown 2024-04-03 09:59:27 -07:00
parent c578cae9f1
commit 3a1356d687

View File

@ -99,7 +99,7 @@ class VhostsAdd extends \Panel\Vhost {
$messages[] = "Note: New user is being jailed. Setting up the jail environment takes about a minute to complete and is being run in the background now.";
}
$f3->set('SESSION.messages', $messages);
$f3->reroute("/Websites");
$f3->reroute("/Websites/$domain");
} else {
$messages[] = "Error adding website.";
$f3->set('SESSION.messages', $messages);