summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-04-22 23:52:04 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-04-30 22:10:27 +0200
commite05f5aa352f6ba55562a0afade0fa9046aeaf0d1 (patch)
treee225f9c4cb33cd5d0b0fb2b1c9b4a07c47d836a4 /cmd
parente3baef0e9e36e1b0f3e899ef8e83520004b50a29 (diff)
[pkg] initialize service early for windows
Diffstat (limited to 'cmd')
-rw-r--r--cmd/bitmask-helper/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/bitmask-helper/main.go b/cmd/bitmask-helper/main.go
index 3d19046..4a627d9 100644
--- a/cmd/bitmask-helper/main.go
+++ b/cmd/bitmask-helper/main.go
@@ -39,5 +39,6 @@ func main() {
}
config.Version = version
- helper.ServeHTTP(preferredPort)
+ // StartHelper is the main entry point - it also handles cli args in windows, and starts the http server.
+ helper.StartHelper(preferredPort)
}