Skip to content

Commit

Permalink
fix: add gleev to whitelisted links
Browse files Browse the repository at this point in the history
  • Loading branch information
teodorus-nathaniel committed Jan 17, 2024
1 parent 2945510 commit 3f512c6
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/posts/embed/utils.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import { isEmptyStr } from '@subsocial/utils'
import { Popover } from 'antd'

export const supportedEmbeddedLink = ['youtube.com', 'youtu.be', 'vimeo.com', 'soundcloud.com']
export const supportedEmbeddedLink = [
'youtube.com',
'youtu.be',
'vimeo.com',
'soundcloud.com',
'gleev.xyz',
]

const supportedEmbeddedLinkSet = new Set(supportedEmbeddedLink)

Expand Down

0 comments on commit 3f512c6

Please sign in to comment.