add hard restart for updates on *nix
reincarnates app.Restart() removed in
bbb0568cc4 as app.HardRestart().
This commit is contained in:
@@ -1788,7 +1788,12 @@ func (app *appContext) ApplyUpdate(gc *gin.Context) {
|
||||
respondBool(500, false, gc)
|
||||
return
|
||||
}
|
||||
if PLATFORM == "windows" {
|
||||
respondBool(500, true, gc)
|
||||
return
|
||||
}
|
||||
respondBool(200, true, gc)
|
||||
app.HardRestart()
|
||||
}
|
||||
|
||||
// @Summary Logout by deleting refresh token from cookies.
|
||||
|
||||
Reference in New Issue
Block a user