fix
This commit is contained in:
@ -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());
|
||||||
|
|||||||
@ -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 * * *',
|
||||||
|
|||||||
Reference in New Issue
Block a user