mirror of
https://git.sr.ht/~roxwize/mipilin
synced 2025-05-10 23:33:07 +00:00
:(
Signed-off-by: roxwize <rae@roxwize.xyz>
This commit is contained in:
parent
afc634b0d2
commit
d173e6ea73
22 changed files with 1433 additions and 472 deletions
5
main.ts
5
main.ts
|
@ -91,12 +91,13 @@ object-src 'none'; base-uri 'none';"
|
|||
return {
|
||||
user: e.user,
|
||||
mood: moods[e.mood],
|
||||
date: date.to(dayjs(e.date)),
|
||||
date: e.date,
|
||||
relativeDate: date.to(dayjs(e.date)),
|
||||
desc: e.desc
|
||||
};
|
||||
});
|
||||
|
||||
render(db, "index", "Home", res, req, {
|
||||
render(db, "index", "home", res, req, {
|
||||
users: (await db.select().from(users)).length,
|
||||
recentUpdates,
|
||||
feedUpdates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue