Skip to content

Commit

Permalink
use lambda enpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Fairchild committed Nov 8, 2017
1 parent 66edae2 commit 46f35b9
Showing 1 changed file with 2 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

0 comments on commit 46f35b9

Please sign in to comment.