Compare commits
No commits in common. "e590fe26e53db6693280fbe455f0ce385f0c1843" and "decbc120e3752466dcbd09b7bd36ff413af9bf99" have entirely different histories.
e590fe26e5
...
decbc120e3
1
cpanfile
1
cpanfile
|
@ -7,4 +7,3 @@ requires 'XML::RSS';
|
|||
requires 'Text::Markdown';
|
||||
requires 'HTML::Restrict';
|
||||
requires 'Roman::Unicode';
|
||||
requires 'SlapbirdAPM::Agent::Mojo';
|
||||
|
|
|
@ -19,12 +19,6 @@ sub startup($self) {
|
|||
$self->plugin('Config');
|
||||
$self->plugin('TagHelpers::Pagination');
|
||||
|
||||
# Alpha testing Slapbird APM
|
||||
if (my $slapbirdapm_api_key = $self->config->{'slapbirdapm_api_key'}) {
|
||||
$self->plugin('SlapbirdAPM', key => $slapbirdapm_api_key)
|
||||
if $self->mode eq 'production'
|
||||
}
|
||||
|
||||
# Helpers
|
||||
$self->helper(pg => sub ($c) {
|
||||
state $pg = Mojo::Pg->new($c->config->{$self->mode}{'pg_string'})
|
||||
|
|
Loading…
Reference in New Issue
Block a user