2022-10-05 14:56:41 -05:00
|
|
|
//go:build !debug
|
|
|
|
// +build !debug
|
|
|
|
|
|
|
|
package debug
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/gorilla/mux"
|
2022-10-20 11:39:20 -05:00
|
|
|
|
2022-10-05 14:56:41 -05:00
|
|
|
"zotregistry.io/zot/pkg/log"
|
|
|
|
"zotregistry.io/zot/pkg/storage"
|
|
|
|
)
|
|
|
|
|
|
|
|
// SetupGQLPlaygroundRoutes ...
|
2023-08-02 13:58:34 -05:00
|
|
|
func SetupGQLPlaygroundRoutes(router *mux.Router,
|
2022-10-05 14:56:41 -05:00
|
|
|
storeController storage.StoreController, log log.Logger,
|
|
|
|
) {
|
2022-11-08 03:38:16 -05:00
|
|
|
log.Warn().Msg("skipping enabling graphql playground extension because given zot binary " +
|
2022-10-05 14:56:41 -05:00
|
|
|
"doesn't include this feature, please build a binary that does so")
|
|
|
|
}
|