use correct version in UA
This commit is contained in:
parent
90c7154a24
commit
54cda5a888
|
@ -1,6 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
var os = require('os');
|
||||
var ver = require('../../package.json');
|
||||
|
||||
var UserAgent = module.exports;
|
||||
UserAgent.get = function(me) {
|
||||
|
@ -12,7 +13,9 @@ UserAgent.get = function(me) {
|
|||
// And https://community.letsencrypt.org/t/user-agent-flag-explained/3843/2
|
||||
|
||||
var ua =
|
||||
'ACME.js/v3 ' +
|
||||
'ACME.js/' +
|
||||
ver +
|
||||
' ' +
|
||||
process.release.name +
|
||||
'/' +
|
||||
process.version +
|
||||
|
|
Loading…
Reference in New Issue