v3 API prefix

This commit is contained in:
Paul Schneider 2026-07-05 20:17:12 +01:00
commit cd72b7b9aa
16 changed files with 24 additions and 32 deletions

View file

@ -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 });