- fix: app.js: Use \r\n, fix connections= service setting
 - update: config.json: fix some service flags that were misset
 - Add ServiceFlags.txt: brief description of wtv-service flags
 - update: Moved tellyscripts to wtv-1800:/preregister
 - update: fixed bug where "send_tellyscript was undefined"
 - update: initial work on bf0app flashrom support (incomplete)
 - add wtv-1800:/offer-open-isp-suggest for dreamcast clients
 - fix: wtv-tricks:/info was not updated to use new ClientSessionData structure
 - update: app.js: add special filtering for Dreamcast clients
 - update: change default service logos
This commit is contained in:
zefie
2021-07-26 08:47:24 -04:00
parent c4e3e0fb99
commit 2a4997e846
15 changed files with 234 additions and 117 deletions

View File

@@ -22,8 +22,9 @@ function doLocalFlashROM(flashrom_file_path) {
}
}
var romtype = ssid_sessions[socket.ssid].get("wtv-client-rom-type");
if (request_headers.query.raw) {
if (request_headers.query.raw || romtype == "bf0app") {
if ((/\.brom$/).test(request_path)) headers += "Content-Type: binary/x-wtv-bootrom"; // maybe?
else headers += "Content-Type: binary/x-wtv-flashblock";
var flashrom_file_path = null;