tambahannya

This commit is contained in:
bipproduction
2025-02-17 10:36:25 +08:00
parent 050bdcdc00
commit 455693b2ce

View File

@@ -1,7 +1,7 @@
import Bun from 'bun'
import { AppServer } from '@/app/api/[[...slugs]]/route'
import { treaty } from '@elysiajs/eden'
const ApiFetch = treaty<AppServer>(Bun.env.NEXT_PUBLIC_WIBU_URL || 'localhost:3000')
export default ApiFetch