Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
Наташа committed Jul 3, 2018
1 parent a6bb733 commit a9628cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

(function () {
var UPLOAD_URL = 'https://js.dump.academy/kekstagram';
var DOWNLOAD_URL = UPLOAD_URL + '/data';
var TIMEOUT = 10000;
var SUCCESS_CODE = 200;

Expand Down Expand Up @@ -29,7 +30,7 @@

var download = function (onLoad, onError) {
var xhr = createXHR(onLoad, onError);
xhr.open('GET', UPLOAD_URL + '/data');
xhr.open('GET', DOWNLOAD_URL);
xhr.send();
};

Expand Down

0 comments on commit a9628cd

Please sign in to comment.