feat: Implement the core Anjungan queue display system, including clinic room, entry, and counter queues, along with new stores, pages, and API endpoints.
This commit is contained in:
@@ -296,7 +296,7 @@ export const useLoketStore = defineStore('loket', () => {
|
||||
|
||||
try {
|
||||
console.log(`🔄 [loketStore] Fetching loket configuration (Try ${retryCount + 1})...`);
|
||||
const response = await fetch('http://10.10.150.131:8089/api/v1/klinik/loket');
|
||||
const response = await fetch('http://10.10.123.140:8089/api/v1/klinik/loket');
|
||||
|
||||
if (!response.ok) {
|
||||
if (response.status === 429 && retryCount < 3) {
|
||||
@@ -435,7 +435,7 @@ export const useLoketStore = defineStore('loket', () => {
|
||||
|
||||
try {
|
||||
console.log(`🔄 [loketStore] Fetching detail for loket ${loketId}...`);
|
||||
const response = await fetch(`http://10.10.150.131:8089/api/v1/loket/${loketId}`);
|
||||
const response = await fetch(`http://10.10.123.140:8089/api/v1/loket/${loketId}`);
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
|
||||
Reference in New Issue
Block a user