mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-17 05:24:22 +01:00
Rename to Ditto
This commit is contained in:
@@ -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: [],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user