enable translation support for permisions
This commit is contained in:
parent
ff76e91ff8
commit
7f95aff2d1
7 changed files with 194 additions and 292 deletions
|
@ -30,9 +30,7 @@ app.use(compression());
|
|||
|
||||
async function updateInstances(): Promise<void>{
|
||||
try{
|
||||
const response = await fetch(
|
||||
"https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/instances/instances.json"
|
||||
);
|
||||
const response = await fetch("https://raw.githubusercontent.com/spacebarchat/spacebarchat/master/instances/instances.json");
|
||||
const json = (await response.json()) as Instance[];
|
||||
for(const instance of json){
|
||||
if(instanceNames.has(instance.name)){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue