mirror of
https://github.com/byulmaru/quesdon
synced 2024-11-27 06:18:02 +09:00
cherrypick, Castella 추가
This commit is contained in:
parent
074b2b10bb
commit
5f9836bd50
@ -47,7 +47,11 @@ router.post('/get_url', async (ctx: Koa.ParameterizedContext): Promise<never|voi
|
||||
else
|
||||
{
|
||||
const instanceType = await detectInstance(`https://${hostName}`);
|
||||
if (instanceType === 'misskey')
|
||||
if (
|
||||
instanceType === 'misskey' ||
|
||||
instanceType === 'cherrypick' ||
|
||||
instanceType === 'Castella'
|
||||
)
|
||||
{
|
||||
let app = await MastodonApp.findOne( { hostName, appBaseUrl: BASE_URL, redirectUri } );
|
||||
if (!app) // if it's the first time user from this instance is using quesdon
|
||||
|
Loading…
Reference in New Issue
Block a user