Commit f366b168 authored by Aral Balkan's avatar Aral Balkan

Re-enabled the live Waystone URLs in the public timeline JS. (Really need to...

Re-enabled the live Waystone URLs in the public timeline JS. (Really need to get that sorted and pass a hint to the client about where it is running.)
parent b64f9604
......@@ -40,8 +40,8 @@ function getOlderMessages(){
console.log('Getting posts before ' + oldestPostID);
superagent
// .get('https://waystone.ind.ie/posts-before/'+oldestPostID)
.get('http://192.168.59.103:3000/posts-before/'+oldestPostID)
.get('https://waystone.ind.ie/posts-before/'+oldestPostID)
// .get('http://192.168.59.103:3000/posts-before/'+oldestPostID)
// .get('//' + set.meta.waystoneURL +'/posts-before/'+oldestPostID)
.end(function(error, posts) {
......@@ -273,8 +273,8 @@ window.addEventListener('load', function(){
// TODO: Do not hard code this URL.
// TODO: Fix Set injectData so we don’t have to use this metadata injection workaround.
superagent
// .get('https://waystone.ind.ie/posts-after/'+newestPostID)
.get('http://192.168.59.103:3000/posts-after/'+newestPostID)
.get('https://waystone.ind.ie/posts-after/'+newestPostID)
// .get('http://192.168.59.103:3000/posts-after/'+newestPostID)
// .get('//' + set.meta.waystoneURL +'/posts-after/'+newestPostID)
.end(function(error, posts) {
//
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment