@drocketxx/pm2me 1.1.32 → 1.1.34
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/backend/routes/api.js +1 -1
- package/package.json +1 -1
package/backend/routes/api.js
CHANGED
|
@@ -545,7 +545,7 @@ router.get('/deploy/:appId/logs', async (req, res) => {
|
|
|
545
545
|
const appConfig = db.data.apps.find(a => a.id === appId);
|
|
546
546
|
if (!appConfig) return res.status(404).json({ error: 'App not found' });
|
|
547
547
|
|
|
548
|
-
const logFilePath = path.join(
|
|
548
|
+
const logFilePath = path.join(getWorkspacesDir(), `${appConfig.name}_deploy.log`);
|
|
549
549
|
let logs = '';
|
|
550
550
|
|
|
551
551
|
if (fs.existsSync(logFilePath)) {
|