feat: add sub path for actual url
This commit is contained in:
@ -69,11 +69,11 @@ public partial class SetupController(
|
||||
|
||||
Response.Cookies.Append("AuthToken", token, new CookieOptions
|
||||
{
|
||||
HttpOnly = false,
|
||||
Secure = false,
|
||||
Path = "/"
|
||||
Path = UrlHelper.GetSubPath + "api",
|
||||
Domain = UrlHelper.CurrentDomain(ControllerContext.HttpContext),
|
||||
Secure = true,
|
||||
HttpOnly = true
|
||||
});
|
||||
|
||||
return Ok(true);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user