summaryrefslogtreecommitdiff
path: root/pkg/backend/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/backend/api.go')
-rw-r--r--pkg/backend/api.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/backend/api.go b/pkg/backend/api.go
index 64dac9d..f63962c 100644
--- a/pkg/backend/api.go
+++ b/pkg/backend/api.go
@@ -76,6 +76,10 @@ func EnableMockBackend() {
go enableMockBackend()
}
+func EnableWebAPI() {
+ go enableWebAPI()
+}
+
/* these two are a bit redundant since we already add them to ctx. however, we
want to have them available before everything else, to be able to parse cli
arguments. In the long run, we probably want to move all vendoring to qt, so