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.
- package/package.json +1 -1
- package/server/index.js +2 -1
package/package.json
CHANGED
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:
|
|
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,
|