tlc-claude-code 0.7.3 → 0.7.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tlc-claude-code",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
4
4
  "description": "TLC - Test Led Coding for Claude Code",
5
5
  "bin": {
6
6
  "tlc-claude-code": "./bin/install.js",
package/server/index.js CHANGED
@@ -277,7 +277,8 @@ app.post('/api/restart', (req, res) => {
277
277
 
278
278
  // Proxy to running app
279
279
  app.use('/app', createProxyMiddleware({
280
- target: () => `http://localhost:${appPort}`,
280
+ target: 'http://localhost:3000', // default fallback
281
+ router: () => `http://localhost:${appPort}`, // dynamic routing
281
282
  changeOrigin: true,
282
283
  pathRewrite: { '^/app': '' },
283
284
  ws: true,