feat: add orphan EC2 cleanup on startup, fix SetupWizard routing, fix SSH key gen
- On startup, scan for EC2 instances with pp:managed=true and terminate any orphans - SetupWizard now renders as full-page (no Layout wrapper) - Fixed SSH RSA key generation (generateKeyPairSync with spki format) - Removed unused import in orphanCleanup.ts - Frontend rebuild with App.tsx routing fix Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+905
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
Vendored
+14
@@ -0,0 +1,14 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>PR Previews</title>
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<script type="module" crossorigin src="/assets/index-BhM-WgUO.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CA1FHrdL.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -68,6 +68,12 @@ export default function App() {
|
||||
} />
|
||||
<Route path="/privacy" element={<Layout><Privacy /></Layout>} />
|
||||
|
||||
<Route path="/setup" element={
|
||||
<ProtectedRoute>
|
||||
<SetupWizard />
|
||||
</ProtectedRoute>
|
||||
} />
|
||||
|
||||
<Route path="/*" element={
|
||||
<ProtectedRoute>
|
||||
<SetupCheck>
|
||||
@@ -78,7 +84,6 @@ export default function App() {
|
||||
<Route path="/repos" element={<Repos />} />
|
||||
<Route path="/settings" element={<Settings />} />
|
||||
<Route path="/admin" element={<Admin />} />
|
||||
<Route path="/setup" element={<SetupWizard />} />
|
||||
<Route path="*" element={<Navigate to="/" replace />} />
|
||||
</Routes>
|
||||
</Layout>
|
||||
|
||||
Reference in New Issue
Block a user