dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 996643ecf2a58b8b708a33322bd82f0f9188a63d
parent 9d9b40063073b5674ce62b36b642b8cb816c754b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 24 May 2023 03:39:11 -0700

auto refresh stream page when server restart

Diffstat:
Mpkg/web/handlers/handlers.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/pkg/web/handlers/handlers.go b/pkg/web/handlers/handlers.go @@ -5123,6 +5123,7 @@ Loop: } _, _ = c.Response().Write([]byte(fmt.Sprintf(`<div class="connection-closed">Connection closed</div>`))) + _, _ = c.Response().Write([]byte(`<meta http-equiv="refresh" content="5" />`)) c.Response().Flush() return nil }