feat: update cookie domain setting to be dynamic based on hostname

This commit is contained in:
hamed
2026-07-01 23:55:40 +03:30
parent 430cac6b4c
commit 1b76c3846b
@@ -56,7 +56,7 @@ function SendReq({
cookieOptions = { cookieOptions = {
...cookieOptions, ...cookieOptions,
secure: true, secure: true,
domain: ".nobat724.com", domain: `.${hostname.split(".").slice(-2).join(".")}`,
}; };
} }