@ -4,7 +4,7 @@ namespace isnd
{
public const string BaseApiPath = "/";
public const string Publish = "put";
public const string Base = "index";
public const string Base = "index.json";
public const string Catalog = "catalog";
public const string Get = "get";
public const string Search = "search";
@ -93,7 +93,7 @@ namespace isnd.Controllers
}
const string _pkgRootPrefix = "~" + ApiConfig.BaseApiPath;
const string _pkgRootPrefix = "~/" + ApiConfig.BaseApiPath ;
[HttpGet(_pkgRootPrefix + ApiConfig.Base)]
@ -22,7 +22,7 @@ namespace isnd.Services
this.dbContext = dbContext;
isndSettings = siteConfigOptionsOptions.Value;
extUrl = isndSettings.ExternalUrl ;
extUrl = isndSettings.ExternalUrl + "/";
CurrentCatalogIndex = GetCatalogIndex();