mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-02 13:22:11 +03:00
- Fix API_KEY_SECRET undefined crash with deterministic fallback - Add code_review_rate_limit parsing for Team/Plus/Pro plan support - Move feature-81 doc to completed/ - Bump version to v1.1.1
This commit is contained in:
@@ -4,7 +4,7 @@ import crypto from "crypto";
|
||||
if (!process.env.API_KEY_SECRET) {
|
||||
console.error("[SECURITY] API_KEY_SECRET is not set. API key CRC will be insecure.");
|
||||
}
|
||||
const API_KEY_SECRET = process.env.API_KEY_SECRET;
|
||||
const API_KEY_SECRET = process.env.API_KEY_SECRET || "omniroute-insecure-default-key";
|
||||
|
||||
/**
|
||||
* Generate 6-char random keyId
|
||||
|
||||
Reference in New Issue
Block a user