mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2025-12-14 02:35:06 +00:00
Fix instances API and user import script
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = [
|
||||
{
|
||||
route: "/api/instances", methods: ["GET"], code: () => {
|
||||
return instanceListCache.getOrFetch("instances", () => {
|
||||
return request(constants.resources.instances_wiki_raw).then(res => res.text()).then(text => {
|
||||
return request(constants.resources.instances_wiki_raw).text().then(text => {
|
||||
const result = (() => {
|
||||
const instances = []
|
||||
const parser = new Parser(text)
|
||||
|
||||
Reference in New Issue
Block a user