commit 07effebf242db8ced67d4d8355cf5a6c8023659f
parent 89713e3d9fe70bfcbc8f884a667734cf021de9dd
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Thu, 25 May 2023 03:44:17 -0700
cleanup
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go
@@ -5167,7 +5167,7 @@ Loop:
}
// Display a big banner stating the connection is closed.
- send(fmt.Sprintf(`<div class="connection-closed">Connection closed</div>`))
+ send(`<div class="connection-closed">Connection closed</div>`)
// Auto refresh the page after 5sec so that the client reconnect after the app has restarted
send(`<meta http-equiv="refresh" content="5" />`)
c.Response().Flush()