import {StrictMode} from 'react'; import {createRoot} from 'react-dom/client'; import {BrowserRouter} from 'react-router-dom'; import App from './App.tsx'; import { AppProvider } from './context/AppContext.tsx'; import './index.css'; // basename must match vite.config.ts `base` and the RewriteBase in public/.htaccess. // All three are /intranet/ because the app is served from a subfolder of the domain. createRoot(document.getElementById('root')!).render( , );