Fixed port bug

This commit is contained in:
2025-05-19 12:12:33 +03:00
parent 7ce2d111be
commit 8d75338676
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -15,7 +15,8 @@ router.get("/", (req, res) => {
page_title: app_conf.name, page_title: app_conf.name,
css_path: path.join(app_conf.paths.css.web, "stylesheet.css"), css_path: path.join(app_conf.paths.css.web, "stylesheet.css"),
protocol: app_conf.protocol, protocol: app_conf.protocol,
host: app_conf.host host: app_conf.host,
port: app_conf.port
}); });
}); });
+1 -1
View File
@@ -25,7 +25,7 @@
style="display: flex; flex-direction: column; justify-content: space-between; font-size: 150%; margin-top: 15px; margin-bottom: 15px;"> style="display: flex; flex-direction: column; justify-content: space-between; font-size: 150%; margin-top: 15px; margin-bottom: 15px;">
<div style="display: flex; flex-direction: row; justify-content: space-evenly;"> <div style="display: flex; flex-direction: row; justify-content: space-evenly;">
<label>CRTelemetry SQLite3</label> <label>CRTelemetry SQLite3</label>
<a href="<%= protocol %>://<%= host %>/app">Enter</a> <a href="<%= protocol %>://<%= host %>:<%= port %>/app">Enter</a>
</div> </div>
</div> </div>
</body> </body>