add no_debug option to WTVFlashrom

for get-lc2-page
This commit is contained in:
zefie
2021-08-11 02:08:11 -04:00
parent d16b979ea9
commit 0dd849b505
2 changed files with 13 additions and 11 deletions

View File

@@ -8,7 +8,7 @@ if (!request_headers.query.path) {
headers = errpage[0];
data = errpage[1];
} else {
var wtvflashrom = new WTVFlashrom(minisrv_config, service_vaults, service_name, minisrv_config.services[service_name].use_zefie_server);
var wtvflashrom = new WTVFlashrom(minisrv_config, service_vaults, service_name, minisrv_config.services[service_name].use_zefie_server, true);
var request_path = request_headers.query.path;
// read flashrom header info into array using WTVFlashrom class