diff --git a/Endpoint/Controllers/Configuration/SetupController.cs b/Endpoint/Controllers/Configuration/SetupController.cs index c315237..4317b95 100644 --- a/Endpoint/Controllers/Configuration/SetupController.cs +++ b/Endpoint/Controllers/Configuration/SetupController.cs @@ -15,6 +15,7 @@ namespace Mirea.Api.Endpoint.Controllers.Configuration; public class SetupController(ISetupToken setupToken, IMaintenanceModeNotConfigureService notConfigureService) : BaseController { [HttpGet("GenerateToken")] + [Localhost] public ActionResult GenerateToken() { if (!notConfigureService.IsMaintenanceMode)