@fatdoge/wtree 0.1.3 → 0.1.4

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.
@@ -30,8 +30,8 @@ export async function startUiDevServer(options: {
30
30
 
31
31
  // Setup static file serving for UI
32
32
  const here = path.dirname(fileURLToPath(import.meta.url))
33
- // In production (dist-node/api/ui), UI assets are in ../../dist
34
- const distPath = path.resolve(here, '..', '..', 'dist')
33
+ // In production (dist-node/api/ui), UI assets are in ../../../dist (root/dist)
34
+ const distPath = path.resolve(here, '..', '..', '..', 'dist')
35
35
 
36
36
  const uiApp = express()
37
37
 
@@ -17,8 +17,8 @@ export async function startUiDevServer(options) {
17
17
  process.env.WTUI_API_URL = `http://127.0.0.1:${apiPort}`;
18
18
  // Setup static file serving for UI
19
19
  const here = path.dirname(fileURLToPath(import.meta.url));
20
- // In production (dist-node/api/ui), UI assets are in ../../dist
21
- const distPath = path.resolve(here, '..', '..', 'dist');
20
+ // In production (dist-node/api/ui), UI assets are in ../../../dist (root/dist)
21
+ const distPath = path.resolve(here, '..', '..', '..', 'dist');
22
22
  const uiApp = express();
23
23
  // Proxy API requests to the API server
24
24
  uiApp.use('/api', (req, res) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fatdoge/wtree",
3
3
  "private": false,
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "CLI + UI tool for managing git worktrees",
6
6
  "keywords": [
7
7
  "git",