diff --git a/src/App.js b/src/App.js index 3ea2fef6365f6e4e8628810c9ecea311eb717268..679b601437272008e38a21662097852f2c155325 100644 --- a/src/App.js +++ b/src/App.js @@ -129,7 +129,7 @@ class App extends React.Component { }; renewToken() { - fetch("/api/token") + fetch("/api/token", { headers: { 'x-authentication': this.state.token } }) .then(response => { if (!response.ok) { throw new Error(response.status.toString()+' '+response.statusText);