tUse the constant WelcomeMsg in dam-dir. - tordam - A library for peer discovery inside the Tor network HTML git clone https://git.parazyd.org/tordam DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit c0638e15e0cc574c04e09209ad2ab7e69be08d52 DIR parent 4c1eb2d904aadccdc11d021d403437090f33ebd8 HTML Author: parazyd <parazyd@dyne.org> Date: Thu, 21 Dec 2017 13:42:44 +0100 Use the constant WelcomeMsg in dam-dir. Diffstat: M cmd/dam-dir/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/cmd/dam-dir/main.go b/cmd/dam-dir/main.go t@@ -132,7 +132,7 @@ func handlePost(rw http.ResponseWriter, request *http.Request) { us := request.Host // Assume our name is what was requested as the URL. if strings.HasPrefix(us, "localhost") { // No need to propagate to ourself. - ret = map[string]string{"secret": "Welcome to the DAM network!"} + ret = map[string]string{"secret": lib.WelcomeMsg} if err := postback(rw, ret, 200); err != nil { lib.CheckError(err) }