get configuration fix
This commit is contained in:
@@ -170,6 +170,7 @@ public class LayersController : Controller
|
|||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[Route("getConfiguration/{apiKey}/{number:int}")]
|
[Route("getConfiguration/{apiKey}/{number:int}")]
|
||||||
|
[AllowAnonymous]
|
||||||
public IActionResult GetConfigurationByNumber(string apiKey, int number)
|
public IActionResult GetConfigurationByNumber(string apiKey, int number)
|
||||||
{
|
{
|
||||||
if (apiKey != _configuration["apiKey"])
|
if (apiKey != _configuration["apiKey"])
|
||||||
|
|||||||
Reference in New Issue
Block a user