chore: rename search route prefix (#887)

* chore: rename search route prefix

* chore: use builtin time.Duration.Truncate() on latencies

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
peusebiu
2022-10-19 06:46:06 +03:00
committed by GitHub
parent caf88ddb1e
commit 91dd5496fc
13 changed files with 61 additions and 62 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func SetupGQLPlaygroundRoutes(conf *config.Config, router *mux.Router,
proto += "https://"
}
target := proto + req.Host + constants.ExtSearchPrefix
target := proto + req.Host + constants.FullSearchPrefix
// respond with the output of template execution
_ = templ.Execute(writer, struct {