@fatdoge/wtree 0.1.7 → 0.1.8

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.
@@ -25,7 +25,7 @@ export function createApiApp(getRepoRoot: () => string) {
25
25
  })
26
26
  })
27
27
 
28
- app.use((req: Request, res: Response) => {
28
+ app.use('/api', (req: Request, res: Response) => {
29
29
  res.status(404).json({ ok: false, error: { code: 'NOT_FOUND', message: 'API not found' } })
30
30
  })
31
31
 
@@ -19,7 +19,7 @@ export function createApiApp(getRepoRoot) {
19
19
  error: { code: 'INTERNAL', message: 'Server internal error' },
20
20
  });
21
21
  });
22
- app.use((req, res) => {
22
+ app.use('/api', (req, res) => {
23
23
  res.status(404).json({ ok: false, error: { code: 'NOT_FOUND', message: 'API not found' } });
24
24
  });
25
25
  return app;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fatdoge/wtree",
3
3
  "private": false,
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "description": "CLI + UI tool for managing git worktrees",
6
6
  "keywords": [
7
7
  "git",