Commit graph

27 commits

Author SHA1 Message Date
Alex Gleason
8f4ae833ca
logi: message -> msg 2025-01-29 12:30:46 -06:00
Alex Gleason
2165e649bc
Remove Stickynotes, replace all occurrences of console.log with logi 2025-01-27 18:11:32 -06:00
Alex Gleason
75be90694c
Always inject og metadata, but add generous cache headers 2025-01-25 01:42:20 -06:00
Alex Gleason
871222ee4e
Add Cache-Control headers to a bunch of routes 2025-01-23 14:11:10 -06:00
Alex Gleason
66cfba5535
Remove leading @ from params.acct 2024-08-10 09:58:25 -05:00
Alex Gleason
2f2fda2ac3
Render OG data on every page 2024-08-07 21:06:51 -05:00
Alex Gleason
ba241f0431
Rework opengraph 2024-08-07 20:47:53 -05:00
Alex Gleason
72970bf480
Code style changes 2024-08-07 19:01:50 -05:00
Siddharth Singh
16f4048604
way better logging 2024-08-06 01:25:39 +05:30
Siddharth Singh
166106b12b
even better kind 0 handling 2024-08-06 00:56:27 +05:30
Siddharth Singh
2283f64204
regex guard around opengraph routes 2024-08-06 00:45:28 +05:30
Siddharth Singh
f48d8e0a66
use Object.assign to fill template opts 2024-08-06 00:37:14 +05:30
Siddharth Singh
af70065d84
yet another typo fix 2024-08-06 00:32:13 +05:30
Siddharth Singh
4f8ebb95f3
hex regex typo fix 2024-08-06 00:26:04 +05:30
Siddharth Singh
aa0727a96d
acct can be a bare pubkey 2024-08-06 00:20:05 +05:30
Siddharth Singh
c109d06a6e
better getHandle 2024-08-05 23:00:08 +05:30
Siddharth Singh
9a96582bfc
catch errors while building opengraph metadata to allow _some_ metadata to make it out still 2024-08-05 22:36:48 +05:30
Siddharth Singh
18e0c990e4
add ditto favicon to default metadata 2024-08-05 22:35:55 +05:30
Siddharth Singh
a3012d341b
log stuff 2024-08-05 21:32:44 +05:30
Siddharth Singh
e4f24c3b26
format 2024-08-05 20:18:49 +05:30
Siddharth Singh
7c56b9dad8
use stickynotes, move storages.db to inside buildTemplateOpts 2024-08-05 20:18:16 +05:30
Siddharth Singh
85b54e81be
ignore OG metadata errors 2024-08-05 20:14:43 +05:30
Siddharth Singh
33da9a41b2
rewrite metadata generation 2024-08-05 20:04:26 +05:30
Siddharth Singh
c7e5aed679
move parseAndVerifyNip05 to utils/nip05 2024-08-05 18:12:53 +05:30
Siddharth Singh
c863655b4d
sort imports by path 2024-08-05 15:15:48 +05:30
Siddharth Singh
c0a6d48d55
rename OG_META_PLACEHOLDER --> META_PLACEHOLDER 2024-08-05 15:14:51 +05:30
Alex Gleason
4c83d6d1b2
Do frontendController like I want to 2024-08-04 13:26:05 -05:00
Renamed from src/middleware/serveStaticWithOG.ts (Browse further)