Some checks failed
CI/CD Pipeline / Solidity Contracts (push) Has been cancelled
CI/CD Pipeline / Security Scanning (push) Has been cancelled
CI/CD Pipeline / Lint and Format (push) Has been cancelled
CI/CD Pipeline / Terraform Validation (push) Has been cancelled
CI/CD Pipeline / Kubernetes Validation (push) Has been cancelled
Validation / validate-genesis (push) Has been cancelled
Validation / validate-terraform (push) Has been cancelled
Validation / validate-kubernetes (push) Has been cancelled
Validation / validate-smart-contracts (push) Has been cancelled
Validation / validate-security (push) Has been cancelled
Validation / validate-documentation (push) Has been cancelled
HYBX OMNL TypeScript & anchor / token-aggregation build + reconcile artifact (push) Failing after 25s
Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
349 B
JavaScript
9 lines
349 B
JavaScript
(function () {
|
|
/** auto → same-origin /api/v1 (vite proxy, portal-serve, or token-aggregation). */
|
|
window.resolveOmnlApiBase = function () {
|
|
const meta = document.querySelector('meta[name="omnl-api-base"]')?.getAttribute('content')?.trim();
|
|
if (meta && meta !== 'auto') return meta.replace(/\/$/, '');
|
|
return '/api/v1';
|
|
};
|
|
})();
|