fix potential issue with local flashroms
This commit is contained in:
@@ -22,10 +22,10 @@ if (request_headers.query.raw || bf0app_update) {
|
||||
sendToClient(socket, headers, data);
|
||||
});
|
||||
} else {
|
||||
headers = "200 OK\n"
|
||||
if (request_headers.query.path) {
|
||||
headers += "Content-type: text/html\n"
|
||||
headers += "wtv-visit: " + service_name + ":/initiate-lc2-download?path=" + request_headers.query.path;
|
||||
headers = "200 OK\n"
|
||||
headers += "wtv-visit: " + service_name + ":/initiate-lc2-download?path=" + request_headers.query.path + "\n";
|
||||
headers += "Content-type: text/html"
|
||||
data = '';
|
||||
} else {
|
||||
var errpage = doErrorPage(404)
|
||||
|
||||
Reference in New Issue
Block a user