set a custom user agent
This commit is contained in:
parent
022465d2a7
commit
66a35a35eb
1 changed files with 5 additions and 1 deletions
|
@ -194,6 +194,10 @@ sub startup {
|
|||
datetime => DateTime->now( time_zone => 'Europe/Berlin' )
|
||||
->subtract( minutes => $lookbehind ),
|
||||
lookahead => $lookbehind + $lookahead,
|
||||
lwp_options => {
|
||||
timeout => 10,
|
||||
agent => 'travelynx/' . $self->app->config->{version},
|
||||
},
|
||||
);
|
||||
return {
|
||||
results => [ $status->results ],
|
||||
|
|
Loading…
Reference in a new issue