refactor: set HttpOnly for debug mode too

This commit is contained in:
2024-08-24 02:25:29 +03:00
parent 565252382c
commit dee89b278b
2 changed files with 7 additions and 7 deletions

View File

@ -75,9 +75,9 @@ public partial class SetupController(
{
Path = UrlHelper.GetSubPathWithoutFirstApiName + "api",
Domain = HttpContext.GetCurrentDomain(),
HttpOnly = true,
#if !DEBUG
Secure = true,
HttpOnly = true
Secure = true
#endif
});
return Ok(true);