Disable HTTPS redirection on API server

This commit is contained in:
Ske 2019-07-15 17:58:05 +02:00
parent 3a6e061e44
commit 4450826241

View File

@ -59,7 +59,7 @@ namespace PluralKit.API
//app.UseHsts(); //app.UseHsts();
} }
app.UseHttpsRedirection(); //app.UseHttpsRedirection();
app.UseMiddleware<TokenAuthService>(); app.UseMiddleware<TokenAuthService>();
app.UseMvc(); app.UseMvc();
} }