mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-10-25 03:23:54 +00:00
11 lines
307 B
JavaScript
11 lines
307 B
JavaScript
|
'use strict';
|
||
|
|
||
|
angular.module('app').controller("SyncController", function($scope, $http, $interval, $location, users) {
|
||
|
$interval(function() {
|
||
|
// todo(bradrydzewski) We should poll the user to see
|
||
|
// if the sync process is complete. If no, we should
|
||
|
// repeat.
|
||
|
$location.path("/");
|
||
|
}, 5000);
|
||
|
});
|