mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove 'api' from path as that will be the subdomain
This commit is contained in:
parent
c8042eec4b
commit
2081fe8a23
2 changed files with 9 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
namespace FilterLists.Api.Controllers
|
||||
{
|
||||
[Route("api/[controller]")]
|
||||
[Route("[controller]")]
|
||||
public class ListsController : Controller
|
||||
{
|
||||
private readonly IListService _listService;
|
||||
|
|
@ -13,7 +13,7 @@ public ListsController(IListService listService)
|
|||
_listService = listService;
|
||||
}
|
||||
|
||||
// GET api/lists
|
||||
// GET lists
|
||||
[HttpGet]
|
||||
public JsonResult Get()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,6 +4,13 @@
|
|||
<TargetFramework>netcoreapp1.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Compile Remove="api.filterlists\**" />
|
||||
<Content Remove="api.filterlists\**" />
|
||||
<EmbeddedResource Remove="api.filterlists\**" />
|
||||
<None Remove="api.filterlists\**" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="wwwroot\" />
|
||||
</ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue