Skip to content

Commit

Permalink
#2490 - add /static/videos 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 d6d1bba commit 0aff368
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('Skills Display Config Loading in various scenarios', () => {
cy.get('[data-cy="overallLevelTitle"]').contains('My Life')
})

it.only('project settings are loaded in iframe', () => {
it('project settings are loaded in iframe', () => {
for (let i = 1; i <= 3; i++) {
cy.createProject(i);
cy.enableProdMode(i);
Expand Down
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,/static,/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/videos,/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 0aff368

Please sign in to comment.