ini tambahannya
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user