BREAKING CHANGES: (for SeCuRiTy):
By default: - `ssid_sessions[socket.ssid]` is now `session_data` - `require` is no longer allowed in user scripts To access global `socket_sessions` and `ssid_sessions`, as well as `require` additional modules, you must set `privileged: true` for the specific service. See `config.json`.
This commit is contained in:
@@ -75,7 +75,7 @@ Television
|
||||
<FONT SIZE="-1">Center WebTV on your screen</FONT><BR>`;
|
||||
|
||||
// old classic apparently can do Screen Border
|
||||
if (ssid_sessions[socket.ssid].get("wtv-client-rom-type") == "bf0app") {
|
||||
if (session_data.get("wtv-client-rom-type") == "bf0app") {
|
||||
data += `<spacer type=block width=1 height=5><BR>
|
||||
<A HREF="wtv-setup:/screen-border" selected><BLACKFACE>Border</BLACKFACE></A><BR>
|
||||
<FONT SIZE="-1">Change the color of the screen border</FONT><BR>`;
|
||||
|
||||
Reference in New Issue
Block a user