|
|
|
@ -11,7 +11,6 @@ namespace SerialPortService
|
|
|
|
|
{
|
|
|
|
|
public static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
var host = Helper.Instance.GetLocalIP().ToString();
|
|
|
|
|
WebHost.CreateDefaultBuilder(args)
|
|
|
|
|
.Run<Startup>(new List<EFConfigurationValue> {
|
|
|
|
|
new EFConfigurationValue { Id = "openapi.title", Value= "web api" },
|
|
|
|
@ -22,7 +21,7 @@ namespace SerialPortService
|
|
|
|
|
new EFConfigurationValue { Id = "email:port", Value= "25"},
|
|
|
|
|
new EFConfigurationValue { Id = "email:user", Value= "admin@nbaxp.com"},
|
|
|
|
|
new EFConfigurationValue { Id = "email:password", Value= "aA123456"},
|
|
|
|
|
new EFConfigurationValue { Id = "server.ip", Value= "" },
|
|
|
|
|
new EFConfigurationValue { Id = "server.ip", Value= "" },
|
|
|
|
|
new EFConfigurationValue { Id = "server.urls", Value= "http://*:8007" },
|
|
|
|
|
new EFConfigurationValue { Id = "node.url", Value= "127.0.0.1:8002"},
|
|
|
|
|
new EFConfigurationValue { Id = "timer.seconds", Value="300"},
|
|
|
|
|