added cache buster
This commit is contained in:
1 parent
a0ae5e89b7
commit
137912eaa4
1 file changed
+2
-1
@@ -26,7 +26,8 @@ define(['m', '_', 'util', 'resultParser', 'views/topNavBar', 'views/footer', 'ar
|
|||||||
|
|
||||||
nextGameDaySchedule.controller = function(){
|
nextGameDaySchedule.controller = function(){
|
||||||
var games = m.prop([]);
|
var games = m.prop([]);
|
||||||
return m.request({method: "GET", url: "api/resultats.json"})
|
var cacheBuster = 1;
|
||||||
|
return m.request({method: "GET", url: "api/resultats.json?_=" + cacheBuster})
|
||||||
.then(games)
|
.then(games)
|
||||||
.then(resultParser.getNightGames)
|
.then(resultParser.getNightGames)
|
||||||
.then(function(nightGames){
|
.then(function(nightGames){
|
||||||
|
|||||||
Reference in new issue
Block a user