mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2025-06-28 08:09:42 -04:00
feat(panel): log stream stop funtion
This commit is contained in:
@ -96,6 +96,7 @@ else
|
||||
HttpClient httpClient = new HttpClient();
|
||||
httpClient.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue(Environment.GetEnvironmentVariable("ADMIN_KEY"));
|
||||
|
||||
await JS.InvokeVoidAsync("serverLogsStream.stop");
|
||||
await httpClient.PutAsync($"http://localhost:8080/api/admin/servers/{wId}/close", new StringContent(""));
|
||||
await GetServer();
|
||||
}
|
||||
|
Reference in New Issue
Block a user