Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update frontend/src/App.jsx
Browse files- 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>} />
|