mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
parent
4d31608d7c
commit
fd18564452
1 changed files with 4 additions and 0 deletions
|
|
@ -4,8 +4,12 @@
|
|||
namespace FilterLists.Api.V1.Controllers
|
||||
{
|
||||
[ApiVersion("1.0")]
|
||||
#if DEBUG
|
||||
//https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/370
|
||||
[Route("v{version:apiVersion}/[controller]")]
|
||||
#else
|
||||
[Route("api/v{version:apiVersion}/[controller]")]
|
||||
#endif
|
||||
public class BaseController : Controller
|
||||
{
|
||||
protected readonly SeedService SeedService;
|
||||
|
|
|
|||
Loading…
Reference in a new issue