Add Application configuration #11
@ -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