feat: add new endpoint
This commit is contained in:
parent
497b7f146b
commit
c6ca717b89
@ -62,6 +62,10 @@ public partial class SetupController(
|
||||
return Ok(Convert.ToBase64String(token));
|
||||
}
|
||||
|
||||
[HttpGet("IsConfigured")]
|
||||
public ActionResult<bool> IsConfigured() =>
|
||||
!notConfigureService.IsMaintenanceMode;
|
||||
|
||||
[HttpGet("CheckToken")]
|
||||
public ActionResult<bool> CheckToken([FromQuery] string token)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user