Compare commits
2 Commits
developmen
...
204616a2d8
| Author | SHA1 | Date | |
|---|---|---|---|
| 204616a2d8 | |||
| 5770f28acb |
@ -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