From 0c22edeacc2e492013a504bc7f84cd12ca42c4b7 Mon Sep 17 00:00:00 2001 From: rmmayo Date: Thu, 6 Jun 2024 11:56:37 +0000 Subject: [PATCH] #2490 - add `/static` to the list of backendResources --- .../skills/controller/filters/VueEntryPointFilterUtils.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main/java/skills/controller/filters/VueEntryPointFilterUtils.groovy b/service/src/main/java/skills/controller/filters/VueEntryPointFilterUtils.groovy index 4b604d2300..40d8b10f96 100644 --- a/service/src/main/java/skills/controller/filters/VueEntryPointFilterUtils.groovy +++ b/service/src/main/java/skills/controller/filters/VueEntryPointFilterUtils.groovy @@ -21,7 +21,7 @@ import org.springframework.stereotype.Component @Component class VueEntryPointFilterUtils { private final List backendResources = - Collections.unmodifiableList("/api,/admin/,/app,/assets,/themes,/clientDisplay,/favicon.ico,/skilltree.ico,/icons,/performLogin,/createAccount,/createRootAccount,/grantFirstRoot,/userExists,/oauth,/login,/logout,/root,/supervisor,/public,/skills-websocket,/resetPassword,/performPasswordReset,/metrics/global,/verifyEmail,/resendEmailVerification,/userEmailIsVerified,/actuator".split(",").toList()) + Collections.unmodifiableList("/api,/admin/,/app,/assets,/themes,/clientDisplay,/favicon.ico,/skilltree.ico,/icons,/static,/performLogin,/createAccount,/createRootAccount,/grantFirstRoot,/userExists,/oauth,/login,/logout,/root,/supervisor,/public,/skills-websocket,/resetPassword,/performPasswordReset,/metrics/global,/verifyEmail,/resendEmailVerification,/userEmailIsVerified,/actuator".split(",").toList()) boolean isFrontendResource(String pathInfo) { return !isBackendResource(pathInfo)