Skip to content

Reduce H2 console path hard-coding #1269

Closed
@php-coder

Description

@php-coder

Instead of hard-coding /console in SecurityConfig and ContentSecurityPolicyHeaderWriter we can inject H2ConsoleProperties class and obtain a path with H2ConsoleProperties.getPath() method. See example in org.springframework.boot.autoconfigure.security.servlet.PathRequest

Tech debt for #869

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions