set for server

This commit is contained in:
Martin Donnelly 2018-02-23 10:41:51 +00:00
parent cf8ce54146
commit e78e62e026
4 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ const foursquare = require('./server/foursquare');
logger.level = 'debug';
const app = express();
const port = process.env.PORT || 3000;
const port = process.env.PORT || 8110;
const sitePath = 'live';

View File

@ -47,7 +47,7 @@ const NearbyModel = Backbone.Model.extend({
'getNearby': function() {
const llFixed = this.get('llFixed');
request({
'url': 'http://localhost:3000/fsexplore',
'url': 'https://jubilee.silvrtree.co.uk/fsexplore',
'method': 'GET',
'qs': {
'll': llFixed,

View File

@ -57,7 +57,7 @@ const NewsModel = Backbone.Model.extend({
'getNews': function() {
// const ll = this.get('llShort');
request({
'url': 'http://localhost:3000/news',
'url': 'https://jubilee.silvrtree.co.uk/news',
'method': 'GET'
}, function(err, res, body) {
if (err)

View File

@ -94,7 +94,7 @@ const WeatherModel = Backbone.Model.extend({
// const ll = this.get('llShort');
const llFixed = this.get('llFixed');
request({
'url': 'http://localhost:3000/weather',
'url': 'https://jubilee.silvrtree.co.uk/weather',
'method': 'GET',
'qs': {
'll': llFixed