dev #2
1 changed files with 1 additions and 1 deletions
|
@ -3,6 +3,6 @@ import { RoomManager } from "$lib/server/class/Room.js";
|
||||||
export function load({ request }) {
|
export function load({ request }) {
|
||||||
const rooms = RoomManager.getRooms().map((r) => r.toJSON()) || [];
|
const rooms = RoomManager.getRooms().map((r) => r.toJSON()) || [];
|
||||||
return {
|
return {
|
||||||
rooms: rooms,
|
rooms: rooms.reverse(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue