openidec

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6c8017bab450177d846d85d9cc12c011c7efeb2c
parent a455d7d62bd058363c3ec506dfb24b53545494ea
Author: Peter Kosyh <p.kosyh@gmail.com>
Date:   Fri, 16 Oct 2020 16:32:35 +0100

local changes

Diffstat:
Mii-node/main.go | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/ii-node/main.go b/ii-node/main.go @@ -219,6 +219,11 @@ func main() { fmt.Fprintf(w, "list.txt\nblacklist.txt\nu/e\nx/c\n") }) ii.Info.Printf("Listening on %s", *listen_opt) + + http.HandleFunc("syscall.ru/", func(w http.ResponseWriter, r *http.Request) { + http.Redirect(w, r, "//hugeping.tk/std.hugeping", http.StatusSeeOther) + }) + if err := http.ListenAndServe(*listen_opt, nil); err != nil { ii.Error.Printf("Error running web server: %s", err) }