opencode-studio-server 1.4.0 → 1.4.1
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/index.js +5 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -222,9 +222,7 @@ function processLogLine(line) {
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
|
|
225
|
-
|
|
226
|
-
setupLogWatcher();
|
|
227
|
-
importExistingAuth();
|
|
225
|
+
|
|
228
226
|
|
|
229
227
|
let pendingActionMemory = null;
|
|
230
228
|
|
|
@@ -2253,4 +2251,8 @@ app.post('/api/presets/:id/apply', (req, res) => {
|
|
|
2253
2251
|
res.json({ success: true });
|
|
2254
2252
|
});
|
|
2255
2253
|
|
|
2254
|
+
// Start watcher on server start
|
|
2255
|
+
setupLogWatcher();
|
|
2256
|
+
importExistingAuth();
|
|
2257
|
+
|
|
2256
2258
|
app.listen(PORT, () => console.log(`Server running at http://localhost:${PORT}`));
|