mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Fix API project build
This commit is contained in:
parent
1c2ebdc658
commit
70df9cd893
2 changed files with 1 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ namespace PluralKit.API
|
|||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
InitUtils.Init();
|
||||
Database.InitStatic();
|
||||
CreateHostBuilder(args).Build().Run();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -86,8 +86,6 @@ namespace PluralKit.API
|
|||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
|
||||
{
|
||||
Database.InitStatic();
|
||||
|
||||
if (env.IsDevelopment())
|
||||
{
|
||||
app.UseDeveloperExceptionPage();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue