Update userNotifications.php

Changed the destination "absolute URL" to "relative URL" in reports to fix issues for reverse proxies
This commit is contained in:
Carlos V.
2024-10-12 08:24:35 +02:00
committed by GitHub
parent 3d51b1cd15
commit 15eb19fda1

View File

@@ -127,7 +127,7 @@ require 'php/templates/header.php';
"render": function(data, type, row) {
if (data.includes("Report:")) {
var guid = data.split(":")[1].trim();
return `<a href="/report.php?guid=${guid}">Go to Report</a>`;
return `<a href="report.php?guid=${guid}">Go to Report</a>`;
} else {
return data;
}