mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2025-06-28 08:09:42 -04:00
fix: logs in admin panel
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
logs: "x",
|
||||
|
||||
start: (dotNetObject, serverId) => {
|
||||
logs = new EventSource(`http://localhost:8080/api/admin/servers/${serverId}/logs`, { withCredentials: true });
|
||||
logs = new EventSource(`http://localhost:8080/api/admin/servers/${serverId}/logs`);
|
||||
|
||||
logs.onmessage = event => {
|
||||
dotNetObject.invokeMethodAsync("ReceiveLog", event.data);
|
||||
|
Reference in New Issue
Block a user