Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

715 B
Raw Blame
import './styles/index.css';

import * as React from 'react';
import ReactDOM from 'react-dom/client';

import App from '@/app';
import { reloadOnce } from '@/lib/chunk-reload';

// Vite fires this when a code-split chunk fails to load — almost always a redeploy
// that rotated the hashed filenames this document still references. Reload once to
// pull the current build; RouteErrorBoundary is the fallback for failures that
// bypass this event, and both share reloadOnce's debounce so at most one fires.
window.addEventListener('vite:preloadError', () => {
    reloadOnce();
});

ReactDOM.createRoot(document.querySelector('#root')!).render(
    <React.StrictMode>
        <App />
    </React.StrictMode>,
);