remove 'api' from path as that will be the subdomain

This commit is contained in:
Collin M. Barrett 2017-04-10 15:05:42 -05:00
parent c8042eec4b
commit 2081fe8a23
2 changed files with 9 additions and 2 deletions

View file

@ -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()
{

View file

@ -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>