feat(web): re-add open graph tags for public share links (#5635)

* feat: re-add open graph tags for public share links

* fix: undefined in html

* chore: tests
This commit is contained in:
Jason Rasmussen
2023-12-11 14:37:47 -05:00
committed by GitHub
parent ac2a36bd53
commit ed4358741e
12 changed files with 160 additions and 25 deletions

View File

@@ -16,6 +16,12 @@ import { CronJob } from 'cron';
import { basename, extname } from 'node:path';
import sanitize from 'sanitize-filename';
export interface OpenGraphTags {
title: string;
description: string;
imageUrl?: string;
}
export type Options = {
optional?: boolean;
each?: boolean;