mirror of
https://codeberg.org/PLG-Development/PLG-MuDiCS
synced 2026-07-06 00:47:09 +00:00
refactor(control): remove unnecessary html syntax in blackout
This commit is contained in:
@@ -111,7 +111,7 @@ export async function show_blackscreen(ip: string): Promise<void> {
|
|||||||
method: 'PATCH',
|
method: 'PATCH',
|
||||||
headers: { 'content-type': 'application/json' },
|
headers: { 'content-type': 'application/json' },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
html: `<div style="width:100dvw; height:100dvh; background-color:black;"></div>`
|
html: ``
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
await request_display(ip, '/showHTML', options);
|
await request_display(ip, '/showHTML', options);
|
||||||
|
|||||||
Reference in New Issue
Block a user