Tambahan Di menu PPID

This commit is contained in:
2025-05-09 10:35:30 +08:00
parent 795c79dd5f
commit 8a34a122d0
47 changed files with 1788 additions and 381 deletions

View File

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