Skip to content

Commit c10fb28

Browse files
committed
attendance 테스트용 배포 임시 수정
1 parent e4488b5 commit c10fb28

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

frontend/src/pages/generation/Attendance.jsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,14 @@ const Attendance = () => {
6363
const processWeeklyAttendance = (rawData) => {
6464
// 화(0), 목(1), 토(2) 인덱스 반환 함수
6565
const getDayIndex = (dateStr) => {
66-
const day = new Date(dateStr).getDay();
67-
if (day === 2) return 0; // 화
68-
if (day === 4) return 1; // 목
69-
if (day === 6) return 2; // 토
70-
return -1;
66+
67+
//임시 테스트 확인용
68+
return 0;
69+
// const day = new Date(dateStr).getDay();
70+
// if (day === 2) return 0; // 화
71+
// if (day === 4) return 1; // 목
72+
// if (day === 6) return 2; // 토
73+
// return -1;
7174
};
7275

7376
// 5주차 x 3세션 빈 데이터 생성

frontend/vite.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import react from "@vitejs/plugin-react";
33

44
// https://vitejs.dev/config/
55
export default defineConfig({
6-
base: '/',
6+
base: '/',
77
plugins: [react()],
88
server: {
99
proxy: {
@@ -13,4 +13,4 @@ export default defineConfig({
1313
},
1414
},
1515
},
16-
});
16+
});

0 commit comments

Comments
 (0)