1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
Description: Set location of files to where the package installs them
Author: Gürkan Myczko <gurkan@phys.ethz.ch>
Origin: Debian
Forwarded: not-needed
Last-Update: 2019-10-23
--- welle.io-2.0.orig/src/welle-cli/webradiointerface.cpp
+++ welle.io-2.0/src/welle-cli/webradiointerface.cpp
@@ -439,10 +439,10 @@ bool WebRadioInterface::dispatch_client(
else {
if (req.is_get) {
if (req.url == "/") {
- success = send_file(s, "index.html", http_contenttype_html);
+ success = send_file(s, "/usr/share/welle-io/html/index.html", http_contenttype_html);
}
else if (req.url == "/index.js") {
- success = send_file(s, "index.js", http_contenttype_js);
+ success = send_file(s, "/usr/share/welle-io/html/index.js", http_contenttype_js);
}
else if (req.url == "/mux.json") {
success = send_mux_json(s);
|