Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
riasvdv committed Jul 4, 2023
1 parent 1dfef19 commit bcd299c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrometheusServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function registerUrls(): self

foreach (config('prometheus.urls') as $name => $url) {
Route::get($url, PrometheusMetricsController::class)
->middleware(config('prometheus.middleware', [AllowIps:class]))
->middleware(config('prometheus.middleware', [AllowIps::class]))
->name("prometheus.{$name}");
}

Expand Down

0 comments on commit bcd299c

Please sign in to comment.