mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-03 17:36:59 +01:00
Improve message in Maintainance page
This commit is contained in:
parent
d392880102
commit
06c3f01e41
1 changed files with 2 additions and 2 deletions
|
@ -264,14 +264,14 @@ namespace BTCPayServer.Controllers
|
|||
|
||||
builder.Path = null;
|
||||
builder.Query = null;
|
||||
TempData[WellKnownTempData.SuccessMessage] = $"Domain name changing... the server will restart, please use \"{builder.Uri.AbsoluteUri}\"";
|
||||
TempData[WellKnownTempData.SuccessMessage] = $"Domain name changing... the server will restart, please use \"{builder.Uri.AbsoluteUri}\" (this page won't reload automatically)";
|
||||
}
|
||||
else if (command == "update")
|
||||
{
|
||||
var error = await RunSSH(vm, $"btcpay-update.sh");
|
||||
if (error != null)
|
||||
return error;
|
||||
TempData[WellKnownTempData.SuccessMessage] = $"The server might restart soon if an update is available...";
|
||||
TempData[WellKnownTempData.SuccessMessage] = $"The server might restart soon if an update is available... (this page won't reload automatically)";
|
||||
}
|
||||
else if (command == "clean")
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue