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/core/constants.js

21 lines
557 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',
globalStatRefreshInterval: 1000,
downloadTaskRefreshInterval: 1000
}).constant('aria2RpcConstants', {
rpcServiceVersion: '2.0',
rpcServiceName: 'aria2'
});
})();