-
Notifications
You must be signed in to change notification settings - Fork 12k
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
200 now returned for missing assets instead of 404 #26917
Labels
area: @angular-devkit/build-angular
devkit/build-angular:dev-server
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Comments
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jan 23, 2024
…t found This commit updates the vite dev-server to return 404 for assets and files that are not found. Closes angular#26917
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jan 23, 2024
…t found This commit updates the vite dev-server to return 404 for assets and files that are not found. Closes angular#26917
This was referenced Jan 23, 2024
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jan 24, 2024
…t found This commit updates the vite dev-server to return 404 for assets and files that are not found. Closes angular#26917
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jan 24, 2024
…t found This commit updates the vite dev-server to return 404 for assets and files that are not found. Closes angular#26917
alan-agius4
added a commit
to alan-agius4/angular-cli
that referenced
this issue
Jan 24, 2024
…t found This commit updates the vite dev-server to return 404 for assets and files that are not found. Closes angular#26917
alan-agius4
added a commit
that referenced
this issue
Jan 24, 2024
…t found This commit updates the vite dev-server to return 404 for assets and files that are not found. Closes #26917
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: @angular-devkit/build-angular
devkit/build-angular:dev-server
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
serve
Is this a regression?
The previous version in which this bug was not present was
16
Description
I've updated a project from 16.2.11 to 17.1.0
When an attempt to load a missing asset is made the response is a 200 containing index.html instead of the expected 404.
This happens when using
ng serve
to run development locally, but i'm also seeing the same issue when deploying my production build to a staging server.Minimal Reproduction
https://github.com/jamesbrobb/v17-missing-asset-issue
Exception or Error
Your Environment
Anything else relevant?
No response
The text was updated successfully, but these errors were encountered: