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:
parent
a70857e8d0
commit
4e90c26b53
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user