Update web.php

This commit is contained in:
Julian Prieber 2022-05-26 11:38:34 +02:00
parent f60ff94f6d
commit 95057f6209
1 changed files with 1 additions and 3 deletions

View File

@ -102,9 +102,7 @@ Route::get('/updating', function (\Codedge\Updater\UpdaterManager $updater) {
unlink(base_path("backups/CANUPDATE"));
$URL = Route::current()->getName();
header("Location: ".$URL."/../update?finishing");
exit();
echo "<meta http-equiv=\"refresh\" content=\"0; " . url()->current() . "/../update?finishing />";
} else {
echo "No new version available.";