diff --git a/Dockerfile b/Dockerfile index 7b9e99f..f03538b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:18.18 as builder +FROM node:18.18 AS builder ARG VITE_API_URL VITE_ENVIRONMENT_NAME VITE_MODEL_NAME VITE_MODEL_MODE VITE_MODEL_TEMPERATURE VITE_MATOMO_URL ENV VITE_API_URL=$VITE_API_URL diff --git a/src/components/Root/Root.tsx b/src/components/Root/Root.tsx index 01c8d15..f86f47a 100644 --- a/src/components/Root/Root.tsx +++ b/src/components/Root/Root.tsx @@ -1,4 +1,5 @@ -import { Navigate, Route, Routes, useLocation, redirect } from 'react-router-dom' +import { useAuth } from '@utils/context/authContext' +import { Navigate, Route, Routes, useLocation } from 'react-router-dom' import Error404 from '../../pages/404' import { Contact } from '../../pages/Contact' import { FAQ } from '../../pages/FAQ' @@ -7,13 +8,11 @@ import { Meeting } from '../../pages/Meeting' import { Tools } from '../../pages/Tools' import Footer from './Footer' import Header from './Header' -import { LoadingSpinner } from 'components/LoadingSpinner' -import { useAuth } from '@utils/context/authContext' export const Root = () => { const location = useLocation() const meetingPathRegex = /^\/meeting(\/.*)?$/ - + console.log('Benjamin') return (