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/app/scripts/config/constants.js

24 lines
651 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',
lazySaveTimeout: 500
2016-05-13 18:09:12 +02:00
}).constant('ariaNgDefaultOptions', {
language: 'en-US',
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
}).constant('aria2RpcConstants', {
rpcServiceVersion: '2.0',
2016-05-31 16:51:12 +02:00
rpcServiceName: 'aria2',
2016-06-04 09:33:40 +02:00
rpcSystemServiceName: 'system',
rpcTokenPrefix: 'token:'
2016-05-13 18:09:12 +02:00
});
})();