fedimbed: add support for honk urls

This commit is contained in:
Cynthia Foxwell 2023-12-02 00:39:49 -07:00
parent a8a95f33a5
commit fe2a4eb062

View file

@ -24,6 +24,7 @@ const PATH_REGEX = {
misskey: /^\/notes\/[a-z0-9]+\/?/, misskey: /^\/notes\/[a-z0-9]+\/?/,
gotosocial: /^\/@(.+?)\/statuses\/[0-9A-Z]+\/?/, gotosocial: /^\/@(.+?)\/statuses\/[0-9A-Z]+\/?/,
lemmy: /^\/post\/\d+\/?/, lemmy: /^\/post\/\d+\/?/,
honk: /^\/u\/(.+?)\/h\/(.+?)\/?$/,
}; };
const PLATFORM_COLORS = { const PLATFORM_COLORS = {