nodeinfo: correct lowercase software

pull/182/head
Sven Sauleau 2023-02-03 12:11:48 +00:00
rodzic df9fd721f4
commit 0a94bade10
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ export const onRequest: PagesFunction<Env, any> = async () => {
export async function handleRequest(): Promise<Response> { export async function handleRequest(): Promise<Response> {
const res = { const res = {
version: '2.0', version: '2.0',
software: { name: 'Wildebeest', version: WILDEBEEST_VERSION }, software: { name: 'wildebeest', version: WILDEBEEST_VERSION },
protocols: ['activitypub'], protocols: ['activitypub'],
services: { outbound: [], inbound: [] }, services: { outbound: [], inbound: [] },
usage: { users: {} }, usage: { users: {} },

Wyświetl plik

@ -14,7 +14,7 @@ export async function handleRequest(): Promise<Response> {
const res = { const res = {
version: '2.1', version: '2.1',
software: { software: {
name: 'Wildebeest', name: 'wildebeest',
version: WILDEBEEST_VERSION, version: WILDEBEEST_VERSION,
repository: 'https://github.com/cloudflare/wildebeest', repository: 'https://github.com/cloudflare/wildebeest',
}, },