Delete port
This commit is contained in:
parent
ecb57a240b
commit
3feb5243e0
2 changed files with 1 additions and 14 deletions
|
|
@ -10,7 +10,6 @@
|
||||||
<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,6 +1,4 @@
|
||||||
using ikvm.runtime;
|
using Microsoft.AspNetCore.Hosting;
|
||||||
using Microsoft.AspNetCore;
|
|
||||||
using Microsoft.AspNetCore.Hosting;
|
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
|
@ -10,16 +8,6 @@ namespace Bot_Discord_CSharp
|
||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
{
|
{
|
||||||
var host = new WebHostBuilder()
|
|
||||||
.UseKestrel()
|
|
||||||
.UseContentRoot(Directory.GetCurrentDirectory())
|
|
||||||
.UseIISIntegration()
|
|
||||||
.UseStartup<Startup>()
|
|
||||||
.UseUrls("http://0.0.0.0:" + Environment.GetEnvironmentVariable("$PORT"))
|
|
||||||
.Build();
|
|
||||||
|
|
||||||
host.Run();
|
|
||||||
|
|
||||||
Bot bot = new Bot();
|
Bot bot = new Bot();
|
||||||
bot.RunAsync().GetAwaiter().GetResult();
|
bot.RunAsync().GetAwaiter().GetResult();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue