Skip to content

Commit

Permalink
Fix devel
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Feb 26, 2025
1 parent 06259fc commit ea586a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,8 @@ export function get_all_universes(){
if(production){
return universes;
} else {
throw "Not implemented for devel";
return get_json('https://r-universe.dev/api/universes').then(function(data){
return data.map(x => x.universe);
});
}
}

0 comments on commit ea586a6

Please sign in to comment.