AniX/frontend/app/api/config.js

11 lines
No EOL
314 B
JavaScript

export const API_URL = "http://anix.test.local/api";
export const endpoints = {
index: {
last: `${API_URL}/index/last`,
ongoing: `${API_URL}/index/ongoing`,
announce: `${API_URL}/index/announce`,
finished: `${API_URL}/index/finished`,
},
search: `${API_URL}/search`
};