mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Change the dummy domain to https://human-connection.org
This commit is contained in:
parent
d28a1f17f1
commit
02c6bf70f3
@ -22,7 +22,7 @@ export default class Hashtag extends TipTapMention {
|
|||||||
...super.schema,
|
...super.schema,
|
||||||
toDOM: node => {
|
toDOM: node => {
|
||||||
// use a dummy domain because URL cannot handle relative urls
|
// use a dummy domain because URL cannot handle relative urls
|
||||||
const url = new URL('/', 'http://example.org')
|
const url = new URL('/', 'https://human-connection.org')
|
||||||
url.searchParams.append('hashtag', node.attrs.id)
|
url.searchParams.append('hashtag', node.attrs.id)
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user