aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/views/MainPane.js
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-09-30 11:29:04 +0000
committerEmiliano Ciavatta2020-09-30 11:29:04 +0000
commit43135c255d82aa7c54ea83b14369c93425ae75f6 (patch)
tree34a0f4e80fde301c3c4905c180b4b18882428811 /frontend/src/views/MainPane.js
parentd994a21a0dfae9ee026e8aa3ccdee6c213c523aa (diff)
Complete pcap page
Diffstat (limited to 'frontend/src/views/MainPane.js')
-rw-r--r--frontend/src/views/MainPane.js2
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));
}