Gitter migration: Setup redirects (rollout pt. 3)
[gitter.git] / server / handlers / renderers / main-frame / snapshots.js
blob96351b9ae1340827f029bc94b704b52cf49f2895
1 'use strict';
3 /**
4 * Snapshots are data that will be sent to the client on page load
5 */
6 function getMainFrameSnapshots(options) {
7 var rooms = options.rooms;
8 var groups = options.groups;
10 return {
11 allRooms: rooms,
12 groups: groups
16 module.exports = getMainFrameSnapshots;