mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 05:47:53 +00:00
refactor: remove asp.net versioning
This commit is contained in:
parent
1626e0f548
commit
eb4f53c69e
14 changed files with 119 additions and 36 deletions
|
|
@ -5,8 +5,7 @@ using Newtonsoft.Json.Linq;
|
|||
namespace PluralKit.API;
|
||||
|
||||
[ApiController]
|
||||
[ApiVersion("2.0")]
|
||||
[Route("v{version:apiVersion}")]
|
||||
[Route("v2")]
|
||||
public class PrivateControllerV2: PKControllerBase
|
||||
{
|
||||
public PrivateControllerV2(IServiceProvider svc) : base(svc) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue