55 lines
1.8 KiB
JavaScript
55 lines
1.8 KiB
JavaScript
module.exports = {
|
|
route: (routeObj) => {
|
|
routeObj.get((req, res) => {
|
|
res.status(200);
|
|
res.json({
|
|
uri: req.headers.host,
|
|
title: "Brainz Social",
|
|
short_description: "",
|
|
description: "",
|
|
email: "a.pietila@protonmail.com",
|
|
version: "4.2.0",
|
|
urls: {},
|
|
stats: {
|
|
user_count: -1,
|
|
status_count: -1,
|
|
domain_count: -1
|
|
},
|
|
thumbnail: null,
|
|
languages: [
|
|
"en"
|
|
],
|
|
registrations: true,
|
|
approval_required: false,
|
|
invites_enabled: false,
|
|
configuration: {
|
|
accounts: {
|
|
max_featured_tags: 4,
|
|
},
|
|
statuses: {
|
|
max_characters: 500,
|
|
max_media_attachments: 0,
|
|
characters_reserved_per_url: 25
|
|
},
|
|
media_attachments: {
|
|
supported_mime_types: [],
|
|
image_size_limit: 0,
|
|
image_matrix_limit: 0,
|
|
video_size_limit: 0,
|
|
video_frame_rate_limit: 0,
|
|
video_matrix_limit: 0,
|
|
},
|
|
polls: {
|
|
max_options: 0,
|
|
max_characters_per_option: 0,
|
|
min_expiration: Number.MAX_SAFE_INTEGER,
|
|
max_expiration: Number.MAX_SAFE_INTEGER,
|
|
},
|
|
contact_account: {},
|
|
rules: [],
|
|
},
|
|
});
|
|
return;
|
|
});
|
|
},
|
|
};
|