diff --git a/lib/GTSRSSApi.pm b/lib/GTSRSSApi.pm index cf882b4..87a9a75 100644 --- a/lib/GTSRSSApi.pm +++ b/lib/GTSRSSApi.pm @@ -40,6 +40,8 @@ sub startup ($self) { # Router my $r = $self->routes; + $self->config( + hypnotoad => { proxy => 1, listen => [$self->config('listen') // 'http://localhost:3000'] } ); # Normal route to controller $r->get('/')->to('Page#index');