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/aria2RpcConstants.js
2016-08-01 22:49:16 +08:00

16 lines
405 B
JavaScript

(function () {
'use strict';
angular.module('ariaNg').constant('aria2RpcConstants', {
rpcServiceVersion: '2.0',
rpcServiceName: 'aria2',
rpcSystemServiceName: 'system',
rpcTokenPrefix: 'token:'
}).constant('aria2RpcErrors', {
Unauthorized: {
message: 'Unauthorized',
tipTextKey: 'rpc.error.unauthorized'
}
});
}());