feat: implement proxy routes for APIs, add Pinia stores for loket, clinic, and queue management, and create new pages for admin and anjungan dashboard.

This commit is contained in:
Fanrouver
2026-06-03 09:18:48 +07:00
parent 047b39064d
commit 0928e78bec
15 changed files with 46 additions and 24 deletions

No files matched your search

+2 -2
View File
@@ -18,8 +18,8 @@ export interface VisitStats {
export const useVisitAPI = () => {
const config = useRuntimeConfig();
// We use the configured proxy path to avoid CORS issues
const statsURL = '/stats-api/visit/stats';
// We use the configured external API URL directly
const statsURL = `${config.public.externalApiBaseUrl}/visit/stats`;
/**
* Fetch visit statistics