You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
620 B

diff -uNr goaccess-1.3/src/websocket.h goaccess-1.3.mod/src/websocket.h
--- goaccess-1.3/src/websocket.h 2018-11-23 04:00:08.000000000 +0200
+++ goaccess-1.3.mod/src/websocket.h 2019-02-01 01:30:02.260971076 +0200
@@ -90,8 +90,8 @@
#define MAX(a,b) (((a)>(b))?(a):(b))
#include "gslist.h"
-#define WS_PIPEIN "/tmp/wspipein.fifo"
-#define WS_PIPEOUT "/tmp/wspipeout.fifo"
+#define WS_PIPEIN "@TERMUX_PREFIX@/tmp/wspipein.fifo"
+#define WS_PIPEOUT "@TERMUX_PREFIX@/tmp/wspipeout.fifo"
#define WS_BAD_REQUEST_STR "HTTP/1.1 400 Invalid Request\r\n\r\n"
#define WS_SWITCH_PROTO_STR "HTTP/1.1 101 Switching Protocols"