From 477a80045f656f96660b77e80cd7caeba33f95b6 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 11 Apr 2026 13:45:44 +0200 Subject: [PATCH] new version --- package.json | 2 +- server/endpoints.js | 2 +- views/index.ejs | 6 +++--- views/setup.ejs | 8 ++++---- web/css/breadcrumbs.css | 1 + web/js/main.js | 6 +++++- web/js/settings.js | 2 +- web/js/ver.js | 4 ++-- 8 files changed, 18 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index aef165d..470a1be 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "fm-dx-webserver", - "version": "1.4.0a", + "version": "1.4.0b", "description": "FM DX Webserver", "main": "index.js", "scripts": { diff --git a/server/endpoints.js b/server/endpoints.js index a93be5a..42a2f3e 100644 --- a/server/endpoints.js +++ b/server/endpoints.js @@ -84,7 +84,7 @@ router.get('/', (req, res) => { }); router.get('/403', (req, res) => { - const reason = req.query.reason || null; + const reason = req.query.reason ? req.query.reason : null; res.render('403', { reason }); }) diff --git a/views/index.ejs b/views/index.ejs index 60ba59a..23071c2 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -180,7 +180,7 @@
-

PI CODE

+

PI Code

 
@@ -188,12 +188,12 @@
-

FREQUENCY

+

Frequency

-

SIGNAL

+

Signal

diff --git a/views/setup.ejs b/views/setup.ejs index 59ae878..1187cb6 100644 --- a/views/setup.ejs +++ b/views/setup.ejs @@ -342,7 +342,7 @@

Connection type

If you want to choose the serial port directly, choose "Direct".
If you use xdrd or your receiver is connected via Wi-Fi, choose TCP/IP.

-
+