mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user