${escapeHtml(i.subject)}
${new Date(i.createdAt).toLocaleDateString()}
diff --git a/src/main/resources/templates/incidents.html b/src/main/resources/templates/incidents.html
index 7175ee9..2b88966 100644
--- a/src/main/resources/templates/incidents.html
+++ b/src/main/resources/templates/incidents.html
@@ -170,7 +170,7 @@
Active incidents
}
function viewIncident(id) {
- window.location.href = `/incidents/${id}`;
+ window.location.href = `/incident/${id}`;
}
function escapeHtml(str) {