The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/packages/rocketchat-livechat/.app/client/routes/router.js

15 lines
375 B

import visitor from '../../imports/client/visitor';
import { FlowRouter } from 'meteor/kadira:flow-router';
import { BlazeLayout } from 'meteor/kadira:blaze-layout';
BlazeLayout.setRoot('body');
FlowRouter.route('/livechat', {
name: 'index',
triggersEnter: [
() => visitor.register(),
],
action() {
BlazeLayout.render('main', { center: 'livechatWindow' });
},
});