Commit 66a35a35 authored by Daniel Friesel's avatar Daniel Friesel
Browse files

set a custom user agent

parent 022465d2
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -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 ],