From 63305ef6ab402b2165265dbf11fb02392c39fc50 Mon Sep 17 00:00:00 2001 From: RandomChars <random@chars.jp> Date: Thu, 9 Sep 2021 23:30:39 +0900 Subject: [PATCH] global set thing --- client/js/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/js/main.go b/client/js/main.go index dec97d8..d7105aa 100644 --- a/client/js/main.go +++ b/client/js/main.go @@ -10,4 +10,5 @@ import ( func main() { js.Module.Get("exports").Set("newRemote", client.New) + js.Global.Set("newRemote", client.New) } -- GitLab