Compare commits

..

2 Commits

Author SHA1 Message Date
sky
204616a2d8 fix 2025-10-26 14:21:18 -04:00
sky
5770f28acb Merge pull request 'v2' (#1) from development into main
Reviewed-on: #1
2025-10-26 12:54:21 -04:00
3 changed files with 3 additions and 1 deletions

View File

@ -271,6 +271,7 @@ async function generateAccountPage(name, cookie, admin) {
} }
let modifiedHTML = rawProfileHTML; let modifiedHTML = rawProfileHTML;
console.log(userData.music);
let songData = JSON.parse(userData.music) || false; let songData = JSON.parse(userData.music) || false;
modifiedHTML = modifiedHTML.replaceAll("{{ name }}", sanitizeHtml(userData.name, allowNone)); modifiedHTML = modifiedHTML.replaceAll("{{ name }}", sanitizeHtml(userData.name, allowNone));
modifiedHTML = modifiedHTML.replaceAll("{{ join_date }}", dayjs(userData.createdAt).fromNow()); modifiedHTML = modifiedHTML.replaceAll("{{ join_date }}", dayjs(userData.createdAt).fromNow());

View File

@ -1,6 +1,6 @@
module.exports = { module.exports = {
name: "Selenite", // Name of your application name: "Selenite", // Name of your application
script: "index.js", // Entry point of your application script: "start.cjs", // Entry point of your application
interpreter: "bun", // Path to the Bun interpreter interpreter: "bun", // Path to the Bun interpreter
watch: true, watch: true,
cron_restart: '0 0 * * *', cron_restart: '0 0 * * *',

1
start.cjs Normal file
View File

@ -0,0 +1 @@
import('./index.js');