cmd/strelaypoolsrv: Missing explicit dependency injection (#5669)

https://lgtm.com/rules/1505800326162/
This commit is contained in:
Jonas Thelemann 2019-04-23 13:17:27 +02:00 committed by Audrius Butkevicius
parent e302ccf4b4
commit c6a179fa4d

View File

@ -193,9 +193,9 @@
<script>
angular.module('syncthing', [
])
.config(function($httpProvider) {
.config(['$httpProvider', function($httpProvider) {
$httpProvider.defaults.timeout = 5000;
})
}])
.filter('bytes', function() {
return function(bytes, precision) {
if (isNaN(parseFloat(bytes)) || !isFinite(bytes)) return '-';