Changed library of ports
This commit is contained in:
parent
508f26a33a
commit
d88c07ccdf
2 changed files with 4 additions and 3 deletions
|
|
@ -6,11 +6,11 @@
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Cqrs" Version="4.2.1729.923" />
|
|
||||||
<PackageReference Include="DSharpPlus" Version="4.0.0-nightly-00760" />
|
<PackageReference Include="DSharpPlus" Version="4.0.0-nightly-00760" />
|
||||||
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.0.0-nightly-00760" />
|
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.0.0-nightly-00760" />
|
||||||
<PackageReference Include="DSharpPlus.Interactivity" Version="4.0.0-nightly-00760" />
|
<PackageReference Include="DSharpPlus.Interactivity" Version="4.0.0-nightly-00760" />
|
||||||
<PackageReference Include="HtmlAgilityPack" Version="1.11.28" />
|
<PackageReference Include="HtmlAgilityPack" Version="1.11.28" />
|
||||||
|
<PackageReference Include="IKVM" Version="8.1.5717" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
|
<PackageReference Include="Microsoft.AspNetCore" Version="2.2.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using Cqrs.Hosts;
|
using Cqrs.Hosts;
|
||||||
|
using ikvm.runtime;
|
||||||
using Microsoft.AspNetCore;
|
using Microsoft.AspNetCore;
|
||||||
using Microsoft.AspNetCore.Hosting;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -11,7 +12,7 @@ namespace Bot_Discord_CSharp
|
||||||
{
|
{
|
||||||
var host = CreateWebHostBuilder(args).
|
var host = CreateWebHostBuilder(args).
|
||||||
UseKestrel().
|
UseKestrel().
|
||||||
UseUrls("http://0.0.0.0:" + Environment.GetEnvironmentVariable("PORT")).
|
UseUrls("http://0.0.0.0:" + Environment.GetEnvironmentVariable("$PORT")).
|
||||||
Build();
|
Build();
|
||||||
|
|
||||||
host.Run();
|
host.Run();
|
||||||
|
|
@ -21,6 +22,6 @@ namespace Bot_Discord_CSharp
|
||||||
}
|
}
|
||||||
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
public static IWebHostBuilder CreateWebHostBuilder(string[] args) =>
|
||||||
WebHost.CreateDefaultBuilder(args)
|
WebHost.CreateDefaultBuilder(args)
|
||||||
.UseStartup<StartUp>();
|
.UseStartup<Startup>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue