feat: add frontend dev container to docker-compose #7
@@ -46,6 +46,8 @@ public class SecurityConfig {
|
|||||||
.csrf(csrf -> csrf.disable())
|
.csrf(csrf -> csrf.disable())
|
||||||
|
|
||||||
.authorizeHttpRequests(auth -> {
|
.authorizeHttpRequests(auth -> {
|
||||||
|
// Health endpoint must be open so CI/Docker health checks work without credentials
|
||||||
|
auth.requestMatchers("/actuator/health").permitAll();
|
||||||
// In dev, allow unauthenticated access to the OpenAPI spec and Swagger UI
|
// In dev, allow unauthenticated access to the OpenAPI spec and Swagger UI
|
||||||
if (environment.matchesProfiles("dev")) {
|
if (environment.matchesProfiles("dev")) {
|
||||||
auth.requestMatchers(
|
auth.requestMatchers(
|
||||||
|
|||||||
Reference in New Issue
Block a user