Moved client api routes to client name space
This commit is contained in:
@@ -159,7 +159,7 @@
|
||||
try
|
||||
{
|
||||
Status = await ApiClient.GetJson<ServerStatusResponse>(
|
||||
$"api/servers/{Server.Id}/status"
|
||||
$"api/client/servers/{Server.Id}/status"
|
||||
);
|
||||
}
|
||||
catch (Exception e)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
@using Microsoft.AspNetCore.SignalR.Client
|
||||
@using MoonlightServers.Frontend.UI.Views.User
|
||||
@using MoonlightServers.Frontend.UI.Views.Client
|
||||
@using MoonlightServers.Shared.Enums
|
||||
@using MoonlightServers.Shared.Http.Responses.Users.Servers
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
await AlertService.ConfirmDanger(
|
||||
"Server installation",
|
||||
"Do you really want to reinstall the server? This can potentially lead to loss of data",
|
||||
() => HttpApiClient.Post($"api/servers/{Server.Id}/install")
|
||||
() => HttpApiClient.Post($"api/client/servers/{Server.Id}/install")
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user