set for server
This commit is contained in:
parent
cf8ce54146
commit
e78e62e026
@ -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';
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user