Skip to content

Commit f54ba1c

Browse files
committed
Update User-Agent
1 parent 1fe577b commit f54ba1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
die 'no repos specified' unless @ARGV;
3737

3838
my $ua = Mojo::UserAgent->new->max_redirects(10);
39-
$ua->transactor->name('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36');
39+
$ua->transactor->name($ENV{DOCS_PUSH_USER_AGENT} || 'https://github.com/docker-library/docs/tree/HEAD/push.pl');
4040

4141
my $term = Term::ReadLine->new('docker-library-docs-push');
4242
unless (defined $username) {

0 commit comments

Comments
 (0)