Update web.php

This commit is contained in:
Julian Prieber 2022-05-26 12:12:09 +02:00
parent 909c11263f
commit 7cf52a4a6a
1 changed files with 2 additions and 2 deletions

View File

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