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: Remove fallback middleware also after Vite restart (#18455) (CP: 24.3) #18515

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

vaadin-bot
Copy link
Collaborator

No description provided.

The existing hacky way of removing the middleware has two issues:

1. It removes it AFTER the first request to a non-existing file so the first request for a non-existing resources index.html and subsequent requests return 404

2. It does not work with Vite 4.0.5+ after restart, see vitejs/vite#15589

Co-authored-by: Peter Czuczor <[email protected]>
@vaadin-bot
Copy link
Collaborator Author

This PR is eligible for auto-merging policy, so it has been approved automatically. If there are pending conditions, auto merge (with 'squash' method) has been enabled for this PR[Message is sent from bot]

@vaadin-bot vaadin-bot enabled auto-merge (squash) January 22, 2024 15:06
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

Test Results

1 051 files  ±0  1 051 suites  ±0   1h 14m 47s ⏱️ - 1m 51s
6 757 tests ±0  6 712 ✅ +1  45 💤 ±0  0 ❌ ±0 
7 068 runs  +1  7 012 ✅ +2  56 💤 ±0  0 ❌ ±0 

Results for commit ee8d7de. ± Comparison against base commit aa7f314.

@vaadin-bot vaadin-bot merged commit 47806c4 into 24.3 Jan 22, 2024
25 of 26 checks passed
@vaadin-bot vaadin-bot deleted the cherry-pick-18455-to-24.3-1705935511063 branch January 22, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants