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

16 lines
405 B
JavaScript
Raw Normal View History

2016-06-10 13:23:16 +02:00
(function () {
'use strict';
angular.module('ariaNg').constant('aria2RpcConstants', {
rpcServiceVersion: '2.0',
rpcServiceName: 'aria2',
rpcSystemServiceName: 'system',
rpcTokenPrefix: 'token:'
}).constant('aria2RpcErrors', {
Unauthorized: {
2016-06-26 13:44:49 +02:00
message: 'Unauthorized',
tipTextKey: 'rpc.error.unauthorized'
2016-06-10 13:23:16 +02:00
}
});
2016-08-01 16:49:16 +02:00
}());