mirror of https://github.com/writeas/writefreely
This allows users to mention users on the following non-ActivityPub social media sites: - twitter.com - medium.com It also adds missing error handling in federatePost().pull/319/head
parent
5c94d23466
commit
507acc7e1c
@ -0,0 +1,10 @@ |
||||
package writefreely |
||||
|
||||
// fakeAPInstances contains a list of sites that we allow writers to mention
|
||||
// with the @handle@instance.tld syntax, plus the corresponding prefix to
|
||||
// insert between `https://instance.tld/` and `handle` (e.g.
|
||||
// https://medium.com/@handle)
|
||||
var fakeAPInstances = map[string]string{ |
||||
"twitter.com": "", |
||||
"medium.com": "@", |
||||
} |
Loading…
Reference in new issue