summaryrefslogtreecommitdiff
path: root/src/http.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-06-07 10:05:32 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-06-07 10:05:32 +0200
commitdd19910ec18ec60633bf5b4fcda5bab220d0565f (patch)
treec42c60a7daa15d99d772d670d53c29caf45d821b /src/http.h
parent5f95718e7ebe4dec017055500793b928d8946d8e (diff)
Relocate all webservice files to src/ws and make sure they can be found by the service after install.
Diffstat (limited to 'src/http.h')
-rw-r--r--src/http.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.h b/src/http.h
index f3ca3a3..ffd8a67 100644
--- a/src/http.h
+++ b/src/http.h
@@ -31,7 +31,7 @@
#include <libwebsockets.h>
-#define LOCAL_RESOURCE_PATH "."
+#define LOCAL_RESOURCE_PATH WSDATADIR
// this protocol server (always the first one) just knows how to do HTTP
int callback_http(struct lws *wsi,