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
2016-06-04 15:33:40 +08:00

24 lines
651 B
JavaScript

(function () {
'use strict';
angular.module('ariaNg').constant('ariaNgConstants', {
title: 'Aria Ng',
appPrefix: 'AriaNg',
optionStorageKey: 'Options',
lazySaveTimeout: 500
}).constant('ariaNgDefaultOptions', {
language: 'en-US',
rpcHost: '',
rpcPort: '6800',
protocol: 'http',
secret: '',
globalStatRefreshInterval: 1000,
downloadTaskRefreshInterval: 1000
}).constant('aria2RpcConstants', {
rpcServiceVersion: '2.0',
rpcServiceName: 'aria2',
rpcSystemServiceName: 'system',
rpcTokenPrefix: 'token:'
});
})();