diff --git a/bot.z_web/src/Badge.js b/bot.z_web/src/Badge.js index 7338db6..2e52509 100644 --- a/bot.z_web/src/Badge.js +++ b/bot.z_web/src/Badge.js @@ -49,7 +49,8 @@ class BadgePage extends React.Component { path = '/checkin'; } fetch(this.props.targetUrl + path, { - method: 'POST' + method: 'POST', + credentials: 'include' }) .then(response => response.json()) .then(data => this.setState({