Added User-Agent to request

This commit is contained in:
DracoBlue 2016-02-12 23:56:17 +01:00
parent b1a400b235
commit e1b256483b
2 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,5 @@
{
"name": "twtxt-registry",
"version": "1.0.0",
"description": "",
"main": "server.js",
"scripts": {

View File

@ -197,6 +197,7 @@ Storage.prototype.startUpdating = function() {
path: urlParts['path'],
method: 'GET',
headers: {
"User-Agent": "twtxt-registry/dev"
}
};