aboutsummaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/public/projects/index.ejs2
1 files changed, 1 insertions, 1 deletions
diff --git a/htdocs/public/projects/index.ejs b/htdocs/public/projects/index.ejs
index 4dd2431..c2a3ffe 100644
--- a/htdocs/public/projects/index.ejs
+++ b/htdocs/public/projects/index.ejs
@@ -10,7 +10,7 @@
that you check for the validity of the legal content you see on this website, as it may have been compromised.</p>
<div class="grid-3">
- <% for (let project of JSON.parse(fs.readFileSync("./global/gitea.json").toString()).sort((a, b) => a.update - b.update).reverse()) { %>
+ <% for (let project of JSON.parse(fs.readFileSync(serverRoot + "/global/gitea.json").toString()).sort((a, b) => a.update - b.update).reverse()) { %>
<div class="project">
<img class="project-icon" src="<%- project.icon ?? "/assets/icons/project.svg" %>">
<h2 class="project-name"><%- project.name %></h2>