add config & api
This commit is contained in:
parent
39532a4a0f
commit
cdb9ec5b97
4 changed files with 62 additions and 0 deletions
7
src/api/api.checkin.ts
Normal file
7
src/api/api.checkin.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import env from "./index";
|
||||
const leave = `${env.API_URI}/leave`;
|
||||
|
||||
export default {
|
||||
checkin: () => `${leave}/check-in`,
|
||||
checkTime: () => `${leave}/check-time`,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue