From ba6c3101cc9ce16f0691ef02a464c6295cc02778 Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 3 Nov 2021 16:46:18 +0100 Subject: Fix --- htdocs/public/projects/index.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htdocs/public') 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.

- <% 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()) { %>
">

<%- project.name %>

-- cgit