Skip to content
Snippets Groups Projects
Commit e926c0eb authored by Thomas Roos's avatar Thomas Roos
Browse files

Pass along headers

parent 4d42d05b
Branches
Tags
Loading
......@@ -15,7 +15,7 @@ class GraderList extends React.Component {
componentDidMount() {
fetch('/api/graders')
fetch('/api/graders', {credentials: 'same-origin'})
.then((response) => response.json())
.then((graders) =>{
this.setState({graders: graders})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment