Skip to content

Commit bcd6379

Browse files
committed
Imag in embeds
1 parent da84e35 commit bcd6379

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ new Elysia()
1616
.use(html())
1717
.get("/styles.css", () => new Response(Bun.file(new URL("./pub/styles.css", import.meta.url)), { headers: { "Content-Type": "text/css", "Cache-Control": "public, max-age=31536000" } }))
1818
.get("/favicon.ico", () => new Response(Bun.file(new URL("./pub/favicon.ico", import.meta.url)), { headers: { "Content-Type": "image/x-icon", "Cache-Control": "public, max-age=31536000" } }))
19+
.get("/retlector.png", () => new Response(Bun.file(new URL("./pub/retlector.png", import.meta.url)), { headers: { "Content-Type": "image/png", "Cache-Control": "public, max-age=31536000" } }))
1920
.get("/", async () => {
2021
const activeGroups = [];
2122
for (const group of config.allowedGroups) {

src/pub/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ const index = ({ activeGroups, cacheDuration, maxReq, maxReqWindow }: { activeGr
1010
<meta name="theme-color" content="#3c4258" />
1111
<meta property="og:title" content="ReTLEctor" />
1212
<meta property="og:description" content="Celestrak TLE caching server" />
13+
<meta property="og:image" content="https://retlector.eu/retlector.png" />
1314
<meta property="og:type" content="website" />
1415
<meta name="twitter:card" content="summary" />
1516
<meta name="twitter:title" content="ReTLEctor" />

src/pub/retlector.png

9.4 KB
Loading

0 commit comments

Comments
 (0)