From 1baf325149c5f51bcf0bd8e75c3ba409bad7c69a Mon Sep 17 00:00:00 2001 From: Lan Tian Date: Sun, 17 Jan 2021 01:33:14 +0800 Subject: [PATCH] frontend: move redirect logic to HTML --- frontend/bindata/templates/page.tpl | 21 ++++++++++++++++++++- frontend/webserver.go | 21 --------------------- 2 files changed, 20 insertions(+), 22 deletions(-) diff --git a/frontend/bindata/templates/page.tpl b/frontend/bindata/templates/page.tpl index 017b51c..3fa4817 100644 --- a/frontend/bindata/templates/page.tpl +++ b/frontend/bindata/templates/page.tpl @@ -41,7 +41,7 @@ {{ if .IsWhois }} {{ $target = .WhoisTarget }} {{ end }} -
+