test for deployment

This commit is contained in:
2025-03-01 16:31:14 +01:00
parent 09d6fcc0dd
commit 01efe8477d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ const TimeSelect: React.FC<TimeSelectProps> = ({
}) => { }) => {
const times = ['00:00'].concat( const times = ['00:00'].concat(
Array.from({ length: 23 }, (_, h) => Array.from({ length: 23 }, (_, h) =>
[0, 15, 30, 45].map( [0].map(
(m) => (m) =>
`${(h + 1).toString().padStart(2, '0')}:${m `${(h + 1).toString().padStart(2, '0')}:${m
.toString() .toString()
+1 -1
View File
@@ -11,7 +11,7 @@ import { redirect } from 'next/navigation';
async function getSession(sessionId: string) { async function getSession(sessionId: string) {
try { try {
return ( return (
await axios.get(`http:/localhost:3000/api/session/?id=${sessionId}`) await axios.get(`/api/session/?id=${sessionId}`)
).data.dashboard; ).data.dashboard;
} catch { } catch {
redirect('/login'); redirect('/login');