feat: add localhost for generate token
Some checks failed
.NET Test Pipeline / build-and-test (pull_request) Failing after 1m50s
Some checks failed
.NET Test Pipeline / build-and-test (pull_request) Failing after 1m50s
This commit is contained in:
parent
22793c7882
commit
07d7fec24f
@ -15,6 +15,7 @@ namespace Mirea.Api.Endpoint.Controllers.Configuration;
|
||||
public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigureService notConfigureService) : BaseController
|
||||
{
|
||||
[HttpGet("GenerateToken")]
|
||||
[Localhost]
|
||||
public ActionResult<string> GenerateToken()
|
||||
{
|
||||
if (!notConfigureService.IsMaintenanceMode)
|
||||
|
Loading…
Reference in New Issue
Block a user