From 368c52029a8fe3bb29b1b114e1924282d19b6c8b Mon Sep 17 00:00:00 2001 From: manojuno Date: Fri, 13 Jun 2025 12:11:05 +0900 Subject: [PATCH] 250613 --- bobu/app/components/boards/wadiz/UploadWadizForm.vue | 8 ++++---- bobu/app/components/boards/wadiz/WadizCalender.vue | 2 ++ bobu/app/data/config.ts | 2 +- firestore.rules | 6 ++++++ 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/bobu/app/components/boards/wadiz/UploadWadizForm.vue b/bobu/app/components/boards/wadiz/UploadWadizForm.vue index e4ef44a..d491683 100644 --- a/bobu/app/components/boards/wadiz/UploadWadizForm.vue +++ b/bobu/app/components/boards/wadiz/UploadWadizForm.vue @@ -169,8 +169,8 @@

- 예약불가 날짜: 2025년 10월 3일(금)~5일(일), 연박 불가 / 금·토·일 - 중 1박만 가능 + 예약불가 날짜: 2025년 10월 3일(금)~5일(일), 연박 불가 / 체류가능일 + : 금·토·일

@@ -617,7 +617,7 @@ const blockedDates = ['2025-10-03', '2025-10-04', '2025-10-05']; const allowedDates = computed(() => { const result: Date[] = []; const start = new Date('2025-06-13'); - const end = new Date('2025-12-01'); + const end = new Date('2025-10-31'); for (let d = new Date(start); d <= end; d.setDate(d.getDate() + 1)) { const date = new Date(d); @@ -625,7 +625,7 @@ const allowedDates = computed(() => { const dateStr = format(date, 'yyyy-MM-dd'); const isUnavailable = dateStr >= '2025-10-03' && dateStr <= '2025-10-05'; - const isWeekend = [5, 6, 0].includes(day); + const isWeekend = [5, 6].includes(day); if (isWeekend && !isUnavailable) { result.push(date); diff --git a/bobu/app/components/boards/wadiz/WadizCalender.vue b/bobu/app/components/boards/wadiz/WadizCalender.vue index e69de29..64d8a3e 100644 --- a/bobu/app/components/boards/wadiz/WadizCalender.vue +++ b/bobu/app/components/boards/wadiz/WadizCalender.vue @@ -0,0 +1,2 @@ + + diff --git a/bobu/app/data/config.ts b/bobu/app/data/config.ts index 465ef2c..eb5ac40 100644 --- a/bobu/app/data/config.ts +++ b/bobu/app/data/config.ts @@ -33,7 +33,7 @@ export const companyInfo = { president: '서지민', address: '강원 정선군 정선읍 정선로 1324, 2층', phone: '0507-1353-1868', - fax: '0507-1353-1868', + fax: '070-7966-2168', email: 'bobu1104@naver.com', copyYear: new Date().getFullYear(), // Automatically get current year }; diff --git a/firestore.rules b/firestore.rules index f8b3969..6b5af1b 100644 --- a/firestore.rules +++ b/firestore.rules @@ -13,7 +13,13 @@ service cloud.firestore { // Either the authenticated user's UID matches the document UID OR they have an elevated role allow read, write: if request.auth.uid == docId || isElevatedRole(); } + // ✅ Allow anyone to read/write from wadizBoards + match /wadizes/{docId} { + + allow read, write: if true; + + } // Match individual progress documents by UID match /progresses/{userId} { // Either the authenticated user's UID matches the document UID OR they have an elevated role