@straiffi/archon 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,9 +5,9 @@
5
5
  <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
7
  <title>Archon</title>
8
- <script type="module" crossorigin src="/assets/index-BK_84mfc.js"></script>
8
+ <script type="module" crossorigin src="/assets/index-CyyQsO8z.js"></script>
9
9
  <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-BYbx6iT9.js">
10
- <link rel="modulepreload" crossorigin href="/assets/badge-DBRMkzQk.js">
10
+ <link rel="modulepreload" crossorigin href="/assets/badge-BentDQnz.js">
11
11
  <link rel="stylesheet" crossorigin href="/assets/index-Dr_tNX7Y.css">
12
12
  </head>
13
13
  <body>
@@ -3331,6 +3331,7 @@ app.post('/planning-agent', async (req, res) => {
3331
3331
  }
3332
3332
  });
3333
3333
  app.get('/projects', (_req, res) => {
3334
+ res.set('Cache-Control', 'no-store');
3334
3335
  const projects = listProjects();
3335
3336
  res.json(projects.map(serializeProject));
3336
3337
  });
@@ -3372,6 +3373,7 @@ app.post('/projects', (req, res) => {
3372
3373
  res.status(201).json(serializeProject(project ?? null));
3373
3374
  });
3374
3375
  app.get('/projects/:id', (req, res) => {
3376
+ res.set('Cache-Control', 'no-store');
3375
3377
  const project = db.prepare('SELECT * FROM projects WHERE id = ?').get(req.params.id);
3376
3378
  if (!project) {
3377
3379
  return res.status(404).json({ error: 'Not found' });