mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
chore: lint
This commit is contained in:
parent
58a9206d5c
commit
1c9a68cb53
5 changed files with 7 additions and 7 deletions
|
|
@ -136,7 +136,7 @@ public class Startup
|
|||
app.UseEndpoints(endpoints =>
|
||||
{
|
||||
// register base / legacy routes
|
||||
endpoints.MapMethods("", new string[] { }, (context) => { context.Response.Redirect("https://pluralkit.me/api"); return Task.CompletedTask;});
|
||||
endpoints.MapMethods("", new string[] { }, (context) => { context.Response.Redirect("https://pluralkit.me/api"); return Task.CompletedTask; });
|
||||
endpoints.MapMethods("v1/{*_}", new string[] { }, (context) => context.Response.WriteJSON(410, "{\"message\":\"Unsupported API version\",\"code\":0}"));
|
||||
|
||||
// register controllers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue