feat(server): add spawn feature startup initialization

- Import and call load_projects_cache() to populate cache before requests
- Import and call generate_auth_token() to create one-time auth token
- Import and call start_projects_watcher() for background cache refresh
- Inject auth token into dashboard HTML via placeholder replacement
- Add AMC_AUTH_TOKEN placeholder in index.html head
This commit is contained in:
teernisse
2026-02-26 17:03:14 -05:00
parent 58f0befe72
commit 9695e9b08a
2 changed files with 9 additions and 1 deletions

View File

@@ -99,6 +99,7 @@
</script>
<link rel="stylesheet" href="styles.css">
<!-- AMC_AUTH_TOKEN -->
</head>
<body class="min-h-screen text-fg antialiased">
<div id="app"></div>