This repository has been archived on 2022-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
AriaNg/src/scripts/config/constants.js

22 lines
579 B
JavaScript
Raw Normal View History

2016-05-13 18:09:12 +02:00
(function () {
'use strict';
angular.module('ariaNg').constant('ariaNgConstants', {
title: 'Aria Ng',
2016-05-16 18:59:27 +02:00
appPrefix: 'AriaNg',
optionStorageKey: 'Options',
globalStatStorageCapacity: 120,
taskStatStorageCapacity: 300,
lazySaveTimeout: 500,
errorTooltipDelay: 200
2016-05-13 18:09:12 +02:00
}).constant('ariaNgDefaultOptions', {
2016-06-05 18:49:48 +02:00
language: 'en',
2016-05-16 18:59:27 +02:00
rpcHost: '',
rpcPort: '6800',
protocol: 'http',
2016-06-04 09:33:40 +02:00
secret: '',
2016-05-13 18:09:12 +02:00
globalStatRefreshInterval: 1000,
downloadTaskRefreshInterval: 1000
});
})();