From a096d3f5b529a2fb2f1e6d7b3fa687ebbd8e556f Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Thu, 15 Aug 2024 14:58:44 +0300 Subject: [PATCH] change to use registration as the entry point --- cmd/main.go | 4 ++-- services/registration/registration | 2 +- services/registration/registration.vis | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index d9b0692..ebbfc75 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -49,7 +49,7 @@ func main() { var sessionId string flag.StringVar(&dir, "d", ".", "resource dir to read from") flag.UintVar(&size, "s", 0, "max size of output") - flag.StringVar(&root, "root", "root", "entry point symbol") + flag.StringVar(&root, "root", "registration", "entry point symbol") flag.StringVar(&sessionId, "session-id", "default", "session id") flag.Parse() fmt.Fprintf(os.Stderr, "starting session at symbol '%s' using resource dir: %s\n", root, dir) @@ -59,7 +59,7 @@ func main() { rfs := resource.NewFsResource(scriptDir) ca := cache.NewCache() cfg := engine.Config{ - Root: "root", + Root: "registration", SessionId: sessionId, } diff --git a/services/registration/registration b/services/registration/registration index 3928a82..01db78c 100644 --- a/services/registration/registration +++ b/services/registration/registration @@ -1 +1 @@ -Welcome to Sarafu Network \ No newline at end of file +Welcome to Sarafu Network registration \ No newline at end of file diff --git a/services/registration/registration.vis b/services/registration/registration.vis index 65dc910..1017a0f 100644 --- a/services/registration/registration.vis +++ b/services/registration/registration.vis @@ -1,7 +1,5 @@ -LOAD select_language 0 MOUT english 0 MOUT kiswahili 1 HALT INCMP terms 0 INCMP terms 1 -RELOAD select_language