mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-31 04:12:10 +03:00
fix(base-red): declare hailuo-web web-session credential requirement (_token)
#7734 added hailuo-web to WEB_COOKIE_PROVIDERS but not to WEB_SESSION_CREDENTIAL_REQUIREMENTS, so web-session-credentials.test.ts failed the merge-train test:unit gate. Co-authored-by: diegosouzapw <8016841+diegosouzapw@users.noreply.github.com>
This commit is contained in:
@@ -96,6 +96,13 @@ export const WEB_SESSION_CREDENTIAL_REQUIREMENTS = {
|
||||
acceptsFullCookieHeader: true,
|
||||
storageKeys: ["cookie", "abra_sess"],
|
||||
},
|
||||
"hailuo-web": {
|
||||
kind: "token",
|
||||
credentialName: "_token",
|
||||
placeholder: '_token=... (hailuo.ai → DevTools → Local Storage → "_token")',
|
||||
acceptsFullCookieHeader: false,
|
||||
storageKeys: ["token", "_token"],
|
||||
},
|
||||
"claude-web": {
|
||||
kind: "cookie",
|
||||
credentialName: "sessionKey",
|
||||
|
||||
Reference in New Issue
Block a user