working app manager
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
const ws = new WebSocket('ws://localhost:5273');
|
||||
const ws = new WebSocket("ws://localhost:5273");
|
||||
|
||||
ws.onmessage = (msg) => console.log("Received:", msg.data);
|
||||
ws.onopen = () => ws.send("my-key");
|
||||
ws.onopen = () => {
|
||||
ws.send("my-key");
|
||||
ws.send(
|
||||
JSON.stringify({
|
||||
repo: "[email protected]:osui-rs/osui.git",
|
||||
branch: "master",
|
||||
install_command: "",
|
||||
run_command: "cargo run",
|
||||
})
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user