diff options
author | Cyril Levis | 2021-04-18 17:19:32 +0200 |
---|---|---|
committer | Cyril Levis | 2021-04-18 17:19:32 +0200 |
commit | 85a21d0cd23ad70e78218254934a150497cdfffe (patch) | |
tree | 5eae9795ac9add3f961b8f91631a5ab31beef55c /web.patch | |
download | aur-85a21d0cd23ad70e78218254934a150497cdfffe.tar.gz |
Initial upload: webwormhole-git r195.1c8919c-1
Diffstat (limited to 'web.patch')
-rw-r--r-- | web.patch | 13 |
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") |