Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(editor): Ensure all static assets are accessible from the server #10062

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

netroy
Copy link
Member

@netroy netroy commented Jul 15, 2024

Summary

#9983 changes the middleware order for handling static assets, which in turn made /favicon.ico and /google-auth/*.png inaccessible.
This PR adds an explicit routing exception for /favicon.ico, and moves the google-auth files inside the static folder (which is already accessible)

Review / Merge checklist

  • PR title and summary are descriptive
  • PR Labeled with release/backport

@netroy netroy added the release/backport Changes that need to be backported to older releases. label Jul 15, 2024
Copy link
Member

@Joffcom Joffcom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested, Looks good.

image

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jul 15, 2024
Copy link

cypress bot commented Jul 15, 2024

2 flaky tests on run #5937 ↗︎

0 400 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Project: n8n Commit: 4d2c7b030c
Status: Passed Duration: 05:26 💡
Started: Jul 15, 2024 3:01 PM Ended: Jul 15, 2024 3:07 PM
Flakiness  e2e/5-ndv.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
NDV > Stop listening for trigger event from NDV Screenshots Video

Review all test suite changes for PR #10062 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 3bde845 into master Jul 15, 2024
30 of 33 checks passed
@netroy netroy deleted the fix-static-asset-paths branch July 15, 2024 15:10
@github-actions github-actions bot mentioned this pull request Jul 16, 2024
@janober
Copy link
Member

janober commented Jul 16, 2024

Got released with n8n@1.50.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team release/backport Changes that need to be backported to older releases. Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants