위치 전송 주기를 10초에서 5초로 변경

This commit is contained in:
dohyeons
2025-12-10 11:05:00 +09:00
parent 4f7aa593a1
commit 62525aaf09

View File

@@ -15,7 +15,7 @@ import BackgroundTimer from 'react-native-background-timer';
import axios from 'axios';
const WEBSITE_URL = 'https://logistream.kpslp.kr';
const LOCATION_UPDATE_INTERVAL = 10000; // 10초마다 위치 업데이트
const LOCATION_UPDATE_INTERVAL = 5000; // 5초마다 위치 업데이트
const API_ENDPOINT = 'https://logistream.kpslp.kr/api/location'; // 서버 API 엔드포인트
interface LocationData {