1
0
mirror of https://github.com/ascribe/onion.git synced 2025-02-14 21:10:27 +01:00

add subdomain to intercom

This commit is contained in:
vrde 2015-07-15 17:36:20 +02:00
parent a70857e8d0
commit 4e90c26b53

View File

@ -97,6 +97,7 @@ let Header = React.createClass({
window.Intercom('boot', { window.Intercom('boot', {
app_id: 'oboxh5w1', app_id: 'oboxh5w1',
email: this.state.currentUser.email, email: this.state.currentUser.email,
subdomain: window.location.host.split('.')[0],
widget: { widget: {
activator: '#IntercomDefaultWidget' activator: '#IntercomDefaultWidget'
} }