larxius commited on
Commit
40fc0d6
·
verified ·
1 Parent(s): 1a8f058

Update frontend/src/App.jsx

Browse files
Files changed (1) hide show
  1. frontend/src/App.jsx +1 -0
frontend/src/App.jsx CHANGED
@@ -51,6 +51,7 @@ function App() {
51
  <Route path="/dashboard" element={<Layout><Dashboard /></Layout>} />
52
  <Route path="/profile" element={<Layout><Profile /></Layout>} />
53
  <Route path="/scans/new" element={<Layout><NewScan /></Layout>} />
 
54
  <Route path="/scans/history" element={<Layout><ReportsHistory /></Layout>} />
55
  <Route path="/scans/results" element={<Layout><ScanResults /></Layout>} />
56
  <Route path="/settings" element={<Layout><AlertSettingsPage /></Layout>} />
 
51
  <Route path="/dashboard" element={<Layout><Dashboard /></Layout>} />
52
  <Route path="/profile" element={<Layout><Profile /></Layout>} />
53
  <Route path="/scans/new" element={<Layout><NewScan /></Layout>} />
54
+ <Route path="/dashboard/new-scan" element={<Navigate to="/scans/new" replace />} />
55
  <Route path="/scans/history" element={<Layout><ReportsHistory /></Layout>} />
56
  <Route path="/scans/results" element={<Layout><ScanResults /></Layout>} />
57
  <Route path="/settings" element={<Layout><AlertSettingsPage /></Layout>} />