Skip to content

Commit

Permalink
Merge pull request #48 from CrisisTextLine/jeff/v2
Browse files Browse the repository at this point in the history
Jeff/v2
  • Loading branch information
cjcodes authored Dec 12, 2017
2 parents 930977e + 46f35b9 commit 165ba0b
Show file tree
Hide file tree
Showing 2 changed files with 12,600 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/scripts/sections/message-count.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

(function() {
const MESSAGE_URL = '//direct.crisistextline.org/trends/data/messages.txt';
const MESSAGE_URL = '//4vammoq5j7.execute-api.us-east-1.amazonaws.com/prod/messages';
const messageDiv = document.getElementById('message-count');

let currentVal = parseInt(messageDiv.innerHTML.replace(/,/g, ''), 10);
Expand Down Expand Up @@ -30,7 +30,7 @@
* true-enough value.
*/
function fail() {
incrementValue('42865124');
incrementValue('53082360');
}

/**
Expand Down
Loading

0 comments on commit 165ba0b

Please sign in to comment.