From a72e6405e6a89016c1e329e92f8089b568f6fa3c Mon Sep 17 00:00:00 2001 From: bipproduction Date: Mon, 17 Feb 2025 10:38:25 +0800 Subject: [PATCH] tambahannya --- src/lib/api-fetch.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/api-fetch.ts b/src/lib/api-fetch.ts index 94e6445d..5183771c 100644 --- a/src/lib/api-fetch.ts +++ b/src/lib/api-fetch.ts @@ -1,7 +1,5 @@ - -import Bun from 'bun' import { AppServer } from '@/app/api/[[...slugs]]/route' import { treaty } from '@elysiajs/eden' -const ApiFetch = treaty(Bun.env.NEXT_PUBLIC_WIBU_URL || 'localhost:3000') +const ApiFetch = treaty(process.env.NEXT_PUBLIC_WIBU_URL || 'localhost:3000') export default ApiFetch \ No newline at end of file