mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-29 03:04:25 +01:00
apps: add comments
This commit is contained in:
@@ -1,12 +1,16 @@
|
||||
import type { Context } from '@/deps.ts';
|
||||
|
||||
/**
|
||||
* Apps are unnecessary cruft in Mastodon API, but necessary to make clients work.
|
||||
* So when clients try to "create" an app, pretend they did and return a hardcoded app.
|
||||
*/
|
||||
const FAKE_APP = {
|
||||
id: '1',
|
||||
name: 'Ditto',
|
||||
website: null,
|
||||
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
|
||||
client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
||||
client_secret: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
||||
client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', // he cry
|
||||
client_secret: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', // 😱 😱 😱
|
||||
vapid_key: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=',
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user