Detect hostname from request

This commit is contained in:
2017-03-30 01:22:11 +01:00
parent d942bd94bb
commit 60de2a3f44

View File

@@ -30,7 +30,7 @@ func indexHandler(c *routing.Context) error {
"\n" +
"Example:\n" +
"curl -X POST -F \"a=Foo Bar\" -F \"b=FOO BAR\" " +
"http://casecmp.bah.io/",
"http://" + string(c.Host()) + "/",
))
return nil
}