ini tambahannya

This commit is contained in:
bipproduction
2025-02-16 17:29:44 +08:00
parent fc8a675e05
commit c8163cce76
5 changed files with 19 additions and 4 deletions

View File

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