chore: Update deployment directory path in deploy script.

This commit is contained in:
xds
2025-12-03 14:52:49 +03:00
parent 14fee455a1
commit 69ca7ae985
2 changed files with 8 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
ssh root@213.226.71.138 "
cd /root/luminic/space/app &&
cd /root/luminic/front/app &&
git pull &&
npm run build &&
cp -r dist/* /var/www/app.luminic.space/

View File

@@ -35,6 +35,13 @@ const plannedTransactions = ref<Transaction[]>([]);
const currentBaseDate = ref(dayjs());
const displayMonth = computed(() => {
const currentDay = currentBaseDate.value.date();
// Если текущая дата от 1 до 9, период начинается с 10-го числа предыдущего месяца
if (currentDay >= 1 && currentDay <= 9) {
return currentBaseDate.value.subtract(1, 'month').format('MMMM YYYY');
}
return currentBaseDate.value.format('MMMM YYYY');
});