fix/optimize wtv-flashrom, wtv-disk, wtv-guide
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var minisrv_service_file = true;
|
||||
const minisrv_service_file = true;
|
||||
|
||||
request_is_async = true;
|
||||
|
||||
@@ -7,11 +7,11 @@ request_is_async = true;
|
||||
// https://flashrom.webtv.onl/content/artemis-webtv-000/
|
||||
// and put everything from 'content/' onwards, including the part000.rom filename
|
||||
// example is below
|
||||
var default_build_to_send = minisrv_config.services[service_name].bf0app_default_rom || "content/artemis-webtv-000/build7181/daily-nondebug/bf0app-part000.rom";
|
||||
const default_build_to_send = minisrv_config.services[service_name].bf0app_default_rom || "content/artemis-webtv-000/build7181/daily-nondebug/bf0app-part000.rom";
|
||||
|
||||
|
||||
var request_path = "";
|
||||
var bf0app_update = true;
|
||||
let request_path = "";
|
||||
let bf0app_update = true;
|
||||
if (request_headers.query.path) request_path = request_headers.query.path;
|
||||
else request_path = default_build_to_send;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user