v3 API prefix
This commit is contained in:
parent
5d37238a44
commit
cd72b7b9aa
16 changed files with 24 additions and 32 deletions
|
|
@ -29,7 +29,7 @@ namespace isnd.Controllers
|
|||
/// API index
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpGet(Constants.PackageRootServerPrefix + ApiConfig.IndexDotJson)]
|
||||
[HttpGet("~/" + Constants.APIPrefix + ApiConfig.IndexDotJson)]
|
||||
public IActionResult ApiIndex()
|
||||
{
|
||||
return Ok(new ApiIndexViewModel(packageManager.CatalogBaseUrl + ApiConfig.IndexDotJson){ Version = PackageManager.BASE_API_LEVEL, Resources = resources });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue