2023-04-25 23:35:34 +02:00
|
|
|
var ApiStatic = {Servers: {}, Featured: {},};
|
|
|
|
["https://mastodon.uno", "https://mastodon.social",].forEach(function(Serv){
|
2023-04-26 15:33:51 +02:00
|
|
|
ApiStatic.Servers[Serv] = {ServerSoftware: "Mastodon"};
|
2023-04-25 23:35:34 +02:00
|
|
|
});
|
|
|
|
["https://misskey.social",].forEach(function(Serv){
|
2023-04-26 15:33:51 +02:00
|
|
|
ApiStatic.Servers[Serv] = {ServerSoftware: "Misskey"};
|
2023-04-25 23:35:34 +02:00
|
|
|
});
|
|
|
|
ApiStatic.Featured.Servers = [];
|
2023-04-26 15:33:51 +02:00
|
|
|
Object.keys(ApiStatic.Servers).forEach(function(Url){
|
|
|
|
var Serv = ApiStatic.Servers[Url];
|
|
|
|
Serv.Type = 'Server';
|
|
|
|
Serv.Url = Url;
|
|
|
|
ApiStatic.Featured.Servers.push(Serv);
|
2023-04-25 23:35:34 +02:00
|
|
|
});
|