Skip to content

Commit

Permalink
Kód módosítás
Browse files Browse the repository at this point in the history
  • Loading branch information
the1bit committed Nov 18, 2024
1 parent 9c58ce0 commit bc2e0cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ app.use(express.static(path.join(path.dirname(new URL(import.meta.url).pathname)
/* Kezdőlap */
app.get('/', (req, res) => {
const NodeVersion = process.versions;
res.render('index', { data: { nodeVerison: NodeVersion.node, title: '---- Azure Webalkalmazás példa ----', host: hostname } });
res.render('index', { data: { nodeVerison: NodeVersion.node, title: '---- AWS Webalkalmazás példa ----', host: hostname } });
});

// catch 404 and forward to error handler
Expand Down
6 changes: 3 additions & 3 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<div id="bodyDiv">
<h1>Üdvözöllek Felhő világában!</h1>
<h2><%= data.title %></h2>
<div style="text-align: center">-- Docker verzió --</div>
<div style="text-align: center">- Docker verzió -</div>
<p>NodeJS Verzió: <%= data.nodeVerison %></p>
<p>Kiszolgáló neve: <%= data.host %></p>
</div>
<p>Kiszolgáló neve: <%= data.host ></p>
</div
</body>
</html>

0 comments on commit bc2e0cd

Please sign in to comment.