fill stake e2e

This commit is contained in:
johba 2025-10-08 15:51:49 +00:00
parent 30ed4aa072
commit aa1ddfcecd
6 changed files with 610 additions and 12 deletions

View file

@ -27,7 +27,10 @@ class ChainConfigService {
if (!normalized) {
throw new Error(`${label} endpoint not configured for chain ${chainId}.`);
}
return normalized;
if (normalized.startsWith('http://') || normalized.startsWith('https://')) {
return normalized;
}
return normalized.startsWith('/') ? normalized : `/${normalized}`;
}
}