Skip to content

Commit

Permalink
#2490 - add /static to the list of backendResources
Browse files Browse the repository at this point in the history
  • Loading branch information
rmmayo committed Jun 6, 2024
1 parent ad6abaf commit 0c22ede
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.springframework.stereotype.Component
@Component
class VueEntryPointFilterUtils {
private final List<String> 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)
Expand Down

0 comments on commit 0c22ede

Please sign in to comment.