Spaces:
Sleeping
Sleeping
Update app.js
Browse files
app.js
CHANGED
|
@@ -80,7 +80,8 @@ Analyze the following content in ${language}:
|
|
| 80 |
const jsonString = raw.slice(jsonStart, jsonEnd + 1);
|
| 81 |
const osintData = JSON.parse(jsonString);
|
| 82 |
|
| 83 |
-
fs.writeFileSync('data.json', JSON.stringify(osintData));
|
|
|
|
| 84 |
|
| 85 |
exec('python3 render_report.py', (error, stdout, stderr) => {
|
| 86 |
if (error) {
|
|
|
|
| 80 |
const jsonString = raw.slice(jsonStart, jsonEnd + 1);
|
| 81 |
const osintData = JSON.parse(jsonString);
|
| 82 |
|
| 83 |
+
fs.writeFileSync('/mnt/data/data.json', JSON.stringify(osintData));
|
| 84 |
+
|
| 85 |
|
| 86 |
exec('python3 render_report.py', (error, stdout, stderr) => {
|
| 87 |
if (error) {
|