Skip to content
Snippets Groups Projects
Commit 490e0918 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7014 handle webjars path

parent 0fb72c29
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,13 @@ spec:
name: fachstelle-server
port:
number: 8080
- path: /webjars
pathType: Prefix
backend:
service:
name: fachstelle-server
port:
number: 8080
host: {{ include "app.baseDomain" . }}
tls:
- hosts:
......
......@@ -84,7 +84,7 @@ public class SecurityConfiguration {
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
http
.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/registrierung", "/static/**", "/actuator/**", "/error", "/fonts/**", "/webjars/**",
.requestMatchers("/registrierung", "/static/**", "/webjars/**", "/actuator/**", "/error", "/fonts/**", "/webjars/**",
"/api/environment")
.permitAll()
.requestMatchers("/api/**", "/preregister", "/register", "/success").authenticated()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment