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