Put static assets in a separate directory so they can be delivered directly by nginx

This commit is contained in:
Ian Renton
2026-07-25 16:49:49 +01:00
parent 555a8418a9
commit 3c4c595288
20 changed files with 157 additions and 130 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ function addAlertRowsToTable(tbody, alerts) {
// Format DX flag
let dx_flag = "<i class='fa-solid fa-globe-africa'></i>";
if (a["dx_dxcc_id"] && a["dx_dxcc_id"] != null && a["dx_dxcc_id"] !== 0) {
dx_flag = `<img src="img/flags/${a['dx_dxcc_id']}.png" class="flag" width="24" alt="${dx_country}" title="${dx_country}"/>`;
dx_flag = `<img src="static/img/flags/${a['dx_dxcc_id']}.png" class="flag" width="24" alt="${dx_country}" title="${dx_country}"/>`;
}
// Format dx calls