Add Application configuration #11
@ -15,6 +15,7 @@ namespace Mirea.Api.Endpoint.Controllers.Configuration;
|
|||||||
public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigureService notConfigureService) : BaseController
|
public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigureService notConfigureService) : BaseController
|
||||||
{
|
{
|
||||||
[HttpGet("GenerateToken")]
|
[HttpGet("GenerateToken")]
|
||||||
|
[Localhost]
|
||||||
public ActionResult<string> GenerateToken()
|
public ActionResult<string> GenerateToken()
|
||||||
{
|
{
|
||||||
if (!notConfigureService.IsMaintenanceMode)
|
if (!notConfigureService.IsMaintenanceMode)
|
||||||
|
Loading…
Reference in New Issue
Block a user