Tambahan Fix Form Di Menu Landing Page & PPID IKM

This commit is contained in:
2025-09-25 16:21:44 +08:00
parent 33fc472472
commit 2a26db6e17
6 changed files with 47 additions and 38 deletions

View File

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