mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +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
|
|
@ -11,8 +11,7 @@ using PluralKit.Core;
|
|||
namespace PluralKit.API;
|
||||
|
||||
[ApiController]
|
||||
[ApiVersion("2.0")]
|
||||
[Route("v{version:apiVersion}")]
|
||||
[Route("v2")]
|
||||
public class SwitchControllerV2: PKControllerBase
|
||||
{
|
||||
public SwitchControllerV2(IServiceProvider svc) : base(svc) { }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue