diff --git a/gno.land/pkg/gnoweb/components/layout_index.go b/gno.land/pkg/gnoweb/components/layout_index.go index 8b49e8f8ada..f56ddfe1514 100644 --- a/gno.land/pkg/gnoweb/components/layout_index.go +++ b/gno.land/pkg/gnoweb/components/layout_index.go @@ -15,6 +15,8 @@ type HeadData struct { ChromaPath string AssetsPath string Analytics bool + Remote string + ChainId string } type IndexData struct { diff --git a/gno.land/pkg/gnoweb/components/layouts/head.html b/gno.land/pkg/gnoweb/components/layouts/head.html index 1b78eeeb324..72f255ebdf6 100644 --- a/gno.land/pkg/gnoweb/components/layouts/head.html +++ b/gno.land/pkg/gnoweb/components/layouts/head.html @@ -40,5 +40,9 @@ + + + + {{ end }} diff --git a/gno.land/pkg/gnoweb/handler.go b/gno.land/pkg/gnoweb/handler.go index 3fdfc33909c..cdaaa63e1bc 100644 --- a/gno.land/pkg/gnoweb/handler.go +++ b/gno.land/pkg/gnoweb/handler.go @@ -90,6 +90,8 @@ func (h *WebHandler) Get(w http.ResponseWriter, r *http.Request) { HeadData: components.HeadData{ AssetsPath: h.Static.AssetsPath, ChromaPath: h.Static.ChromaPath, + ChainId: h.Static.ChainId, + Remote: h.Static.RemoteHelp, }, FooterData: components.FooterData{ Analytics: h.Static.Analytics,