Skip to content

Commit

Permalink
Merge pull request #8 from travel-intelligence/remove-default-host
Browse files Browse the repository at this point in the history
removed the default host from api.js
  • Loading branch information
jkintscher committed Jan 27, 2016
2 parents 9a368cf + 8aa72ab commit 306cba0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/api.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import Authentication from './authentication';

let host = 'http://portal.travel-intelligence.dev';

function request(method, url, success, error) {
let xhr = new XMLHttpRequest();
xhr.open(method, host + url, true);
xhr.open(method, url, true);
xhr.onreadystatechange = handler;
xhr.responseType = 'json';
xhr.setRequestHeader('Accept', 'application/json');
Expand Down

0 comments on commit 306cba0

Please sign in to comment.