实现首页功能,添加体育项目和今日比赛数据的加载,更新国际化文本,新增选择和日历模态框组件
This commit is contained in:
9
constants/api.ts
Normal file
9
constants/api.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
export const API_CONFIG = {
|
||||
BASE_URL: "http://192.168.1.66:8000", // Update this with your machine IP if running on device ex: http://192.168.1.5:8000
|
||||
TIMEOUT: 10000,
|
||||
};
|
||||
|
||||
export const API_ENDPOINTS = {
|
||||
SPORTS: "/v1/api/sports",
|
||||
MATCHES_TODAY: "/v1/api/matches/today",
|
||||
};
|
||||
Reference in New Issue
Block a user