admin: can force page regeneration
This commit is contained in:
parent
fabafd5f88
commit
3e2def9d78
5 changed files with 14 additions and 3 deletions
|
@ -228,6 +228,10 @@ angular.module("FICApp")
|
|||
$location.url("/");
|
||||
});
|
||||
}
|
||||
$scope.regenerate = function() {
|
||||
this.config.generation = (new Date()).toISOString();
|
||||
$scope.saveSettings();
|
||||
}
|
||||
$scope.launchChallenge = function() {
|
||||
var ts = Date.now() - Date.now() % 60000;
|
||||
var d = new Date(ts + 120000);
|
||||
|
|
Reference in a new issue