From 01efe8477d46a7e98016455848e69b7b7dbb8628 Mon Sep 17 00:00:00 2001 From: Leo dev Date: Sat, 1 Mar 2025 16:31:14 +0100 Subject: [PATCH] test for deployment --- src/app/calendar/timeSelect.tsx | 2 +- src/app/dashboard/page.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/calendar/timeSelect.tsx b/src/app/calendar/timeSelect.tsx index 4e38c0f..5c49413 100644 --- a/src/app/calendar/timeSelect.tsx +++ b/src/app/calendar/timeSelect.tsx @@ -19,7 +19,7 @@ const TimeSelect: React.FC = ({ }) => { const times = ['00:00'].concat( Array.from({ length: 23 }, (_, h) => - [0, 15, 30, 45].map( + [0].map( (m) => `${(h + 1).toString().padStart(2, '0')}:${m .toString() diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index c82586a..02b3a9d 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -11,7 +11,7 @@ import { redirect } from 'next/navigation'; async function getSession(sessionId: string) { try { return ( - await axios.get(`http:/localhost:3000/api/session/?id=${sessionId}`) + await axios.get(`/api/session/?id=${sessionId}`) ).data.dashboard; } catch { redirect('/login');