Linked Plugin List and Plugin Install endpoints between web and console
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace DiscordBotWebUI.ServerCommunication.ApiSettings;
|
||||
|
||||
public class ApiSettings : IApiSettings
|
||||
{
|
||||
public string BaseUrl { get; }
|
||||
public string BasePort { get; }
|
||||
|
||||
public ApiSettings(string baseUrl, string basePort)
|
||||
{
|
||||
BaseUrl = baseUrl;
|
||||
BasePort = basePort;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace DiscordBotWebUI.ServerCommunication.ApiSettings;
|
||||
|
||||
public interface IApiSettings
|
||||
{
|
||||
public string BaseUrl { get; }
|
||||
public string BasePort { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user