Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Fix url

Jakub Novak2844aba081ef
diff --git a/apps/web/src/components/Dashboard/Billing.tsx b/apps/web/src/components/Dashboard/Billing.tsx
index 8054794fa..72373e468 100644
--- a/apps/web/src/components/Dashboard/Billing.tsx
+++ b/apps/web/src/components/Dashboard/Billing.tsx
@@ -42,7 +42,7 @@ export const BillingContent = ({
const getInvoices = async function getInvoices() {
setInvoices([])
const res = await fetch(
- `https://billing.${domain}/teams/${team.id}/invoices`,
+ `${getBillingUrl(domain)}/teams/${team.id}/invoices`,
{
headers: {
'X-Team-API-Key': team.apiKeys[0],