diff options
author | Emiliano Ciavatta | 2020-09-30 11:29:04 +0000 |
---|---|---|
committer | Emiliano Ciavatta | 2020-09-30 11:29:04 +0000 |
commit | 43135c255d82aa7c54ea83b14369c93425ae75f6 (patch) | |
tree | 34a0f4e80fde301c3c4905c180b4b18882428811 /frontend/src/views/MainPane.js | |
parent | d994a21a0dfae9ee026e8aa3ccdee6c213c523aa (diff) |
Complete pcap page
Diffstat (limited to 'frontend/src/views/MainPane.js')
-rw-r--r-- | frontend/src/views/MainPane.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/views/MainPane.js b/frontend/src/views/MainPane.js index 6f4e3cd..b9ebadb 100644 --- a/frontend/src/views/MainPane.js +++ b/frontend/src/views/MainPane.js @@ -21,7 +21,7 @@ class MainPane extends Component { const match = this.props.location.pathname.match(/^\/connections\/([a-f0-9]{24})$/); if (match != null) { this.setState({loading: true}); - backend.getJson(`/api/connections/${match[1]}`) + backend.get(`/api/connections/${match[1]}`) .then(res => this.setState({selectedConnection: res.json, loading: false})) .catch(error => console.log(error)); } |