initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace ClashWidget.Models;
|
||||
|
||||
public class AppConfig
|
||||
{
|
||||
public string ApiHost { get; set; } = "0.0.0.0";
|
||||
public int ApiPort { get; set; } = 9090;
|
||||
public string ApiSecret { get; set; } = "123456";
|
||||
public string TestUrl { get; set; } = "https://www.gstatic.com/generate_204";
|
||||
|
||||
public string ApiBaseUrl => $"http://{ApiHost}:{ApiPort}";
|
||||
}
|
||||
Reference in New Issue
Block a user