We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5757590 commit dc93af5Copy full SHA for dc93af5
app.js
@@ -63,11 +63,13 @@ const scriptJsContent = `// Your JavaScript code goes here`;
63
fs.writeFileSync(path.join(frontendFolder, 'script.js'), scriptJsContent);
64
65
// Update app.js content to serve frontend files correctly.
66
-const appJsContent = `const express = require('express');
+const appJsContent = `// Your app.js file code goes here
67
+const express = require('express');
68
const app = express();
-const port = 3000;
69
const os = require('os');
70
+
71
const hostname = os.hostname();
72
+const port = 3000;
73
74
app.use(express.static('frontend'));
75
0 commit comments