mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
Update links
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = function httpAdapter(config) {
|
||||
|
||||
// Set User-Agent (required by some servers)
|
||||
// Only set header if it hasn't been set in config
|
||||
// See https://github.com/mzabriskie/axios/issues/69
|
||||
// See https://github.com/axios/axios/issues/69
|
||||
if (!headers['User-Agent'] && !headers['user-agent']) {
|
||||
headers['User-Agent'] = 'axios/' + pkg.version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user