summarylogtreecommitdiffstats
path: root/web.patch
diff options
context:
space:
mode:
authorCyril Levis2021-04-18 17:19:32 +0200
committerCyril Levis2021-04-18 17:19:32 +0200
commit85a21d0cd23ad70e78218254934a150497cdfffe (patch)
tree5eae9795ac9add3f961b8f91631a5ab31beef55c /web.patch
downloadaur-85a21d0cd23ad70e78218254934a150497cdfffe.tar.gz
Initial upload: webwormhole-git r195.1c8919c-1
Diffstat (limited to 'web.patch')
-rw-r--r--web.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/web.patch b/web.patch
new file mode 100644
index 000000000000..b68e802cf832
--- /dev/null
+++ b/web.patch
@@ -0,0 +1,13 @@
+diff --git a/cmd/ww/server.go b/cmd/ww/server.go
+index 11725b1..febcfed 100644
+--- a/cmd/ww/server.go
++++ b/cmd/ww/server.go
+@@ -285,7 +285,7 @@ func server(args ...string) {
+ secretpath := set.String("secrets", os.Getenv("HOME")+"/keys", "path to put let's encrypt cache")
+ cert := set.String("cert", "", "https certificate (leave empty to use letsencrypt)")
+ key := set.String("key", "", "https certificate key")
+- html := set.String("ui", "./web", "path to the web interface files")
++ html := set.String("ui", "/usr/share/webwormhole/web", "path to the web interface files")
+ stunservers := set.String("stun", "stun:relay.webwormhole.io", "list of STUN server addresses to tell clients to use")
+ set.StringVar(&turnServer, "turn", "", "TURN server to use for relaying")
+ set.StringVar(&turnSecret, "turn-secret", "", "secret for HMAC-based authentication in TURN server")