Launch Playlet from web app

This commit is contained in:
Brahim Hadriche committed 2023-11-14 18:49:17 -05:00
1 parent d65f930247
commit 2a57cc99c7
4 files changed
+35 -7

No files matched your search

@@ -0,0 +1,10 @@
import { getIp } from "./Host";
export class ExternalControlProtocol {
static async launchApp(appId) {
return fetch(`http://${getIp()}:8060/launch/${appId}`, {
method: 'POST',
body: '',
})
}
}