mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-03-29 11:29:52 +00:00
oEmbed Jank Client to Fermi
This commit is contained in:
@@ -160,7 +160,7 @@ app.use("/", async (req: Request, res: Response) => {
|
||||
const link = `${host}/services/oembed?url=${encodeURIComponent(ref)}`;
|
||||
res.set(
|
||||
"Link",
|
||||
`<${link}>; rel="alternate"; type="application/json+oembed"; title="Jank Client oEmbed format"`,
|
||||
`<${link}>; rel="alternate"; type="application/json+oembed"; title="Fermi Client oEmbed format"`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user