fix event url

This commit is contained in:
Jay 2017-05-05 18:01:52 +08:00
parent 7826befe8e
commit 63520e50d5
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ class IPCamPage extends React.Component {
<Message>
<Message.Header>攝影機事件通知位址</Message.Header>
<p>
{`${location.protocol}//${location.host}${location.port != '' ? `:${location.port}` : ''}/camevent`}
{`${location.protocol}//${location.host}/camevent`}
</p>
</Message>
<Button basic content="新增" icon="plus" floated="right" type="button" style={{marginBottom: '15px'}} color="green" onClick={()=>{this.openModal(0)}} />