Rename to Ditto
This commit is contained in:
parent
d8e0a1c7fc
commit
ecf3841ee4
|
@ -2,7 +2,7 @@ import type { Context } from '@/deps.ts';
|
||||||
|
|
||||||
const FAKE_APP = {
|
const FAKE_APP = {
|
||||||
id: '1',
|
id: '1',
|
||||||
name: 'Nostrverse',
|
name: 'Ditto',
|
||||||
website: null,
|
website: null,
|
||||||
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
|
redirect_uri: 'urn:ietf:wg:oauth:2.0:oob',
|
||||||
client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
client_id: 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA',
|
||||||
|
|
|
@ -7,9 +7,9 @@ function instanceController(c: Context) {
|
||||||
|
|
||||||
return c.json({
|
return c.json({
|
||||||
uri: host,
|
uri: host,
|
||||||
title: 'Nostrverse',
|
title: 'Ditto',
|
||||||
description: 'An adapter between Mastodon API and Nostr.',
|
description: 'An efficient and flexible social media server.',
|
||||||
short_description: 'An adapter between Mastodon API and Nostr.',
|
short_description: 'An efficient and flexible social media server.',
|
||||||
registrations: false,
|
registrations: false,
|
||||||
max_toot_chars: POST_CHAR_LIMIT,
|
max_toot_chars: POST_CHAR_LIMIT,
|
||||||
configuration: {
|
configuration: {
|
||||||
|
@ -37,7 +37,7 @@ function instanceController(c: Context) {
|
||||||
urls: {
|
urls: {
|
||||||
streaming_api: `wss://${host}`,
|
streaming_api: `wss://${host}`,
|
||||||
},
|
},
|
||||||
version: '0.0.0 (compatible; Nostrverse 0.0.1)',
|
version: '0.0.0 (compatible; Ditto 0.0.1)',
|
||||||
rules: [],
|
rules: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue