Skip to content

Commit

Permalink
Fix: prometheus url post 요청을 허용하도록 수정 (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
WonSteps authored Sep 25, 2024
1 parent 758f1fd commit beb2803
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ public class SecurityWebConfig {
private List<String> corsOrigins;

private static final String[] PUBLIC_ENDPOINTS = {
"/api/v1/auth/**",
"/api/v1/auth/**", "/actuator/prometheus/**",
};

private static final String[] OPEN_API_ENDPOINTS = {
"/v3/api-docs/**", "/swagger-ui/**", "/swagger-resources/**",
};

private static final String[] READ_ONLY_ENDPOINTS = {
"/api/v1/servers/versions", "/actuator/health", "/actuator/metrics/**", "/actuator/prometheus",
"/api/v1/servers/versions", "/actuator/health", "/actuator/metrics/**",
};

@Bean
Expand Down

0 comments on commit beb2803

Please sign in to comment.