diff --git a/main.go b/main.go index e001948..6dbc48a 100644 --- a/main.go +++ b/main.go @@ -6,13 +6,13 @@ import ( "errors" "fmt" "html/template" + "strconv" "io/ioutil" "log" "net/http" "os" - "strconv" "strings" "unicode" @@ -123,6 +123,9 @@ func main() { g.POST("/config", setConfig) } + //External Node Specific Initialization + parseTemplates() + //Common External Node registration externalnode.Register(proxeusUrl, serviceName, serviceUrl, jwtsecret, "Send Emails", registerRetryInterval) err := e.Start("0.0.0.0:" + servicePort)