You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a file cannot be found, rather than using 404 Not Found, the server responds with 302 Found.
Here's an example:
This also ends up causing errors, such as these:
The text was updated successfully, but these errors were encountered:
I updated all the NuGet packages. After that I made the following changes:
Program.cs
I changed app.UseViteDevMiddleware(); to app.UseViteDevelopmentServer(true); if VS did not offer to fix it for you. Also, the true is for useMiddleWare which is required.
AppServiceRegistration.cs
Change using Vite.AspNetCore.Extensions; to just using Vite.AspNetCore;.
If a file cannot be found, rather than using


404 Not Found
, the server responds with302 Found
.Here's an example:
This also ends up causing errors, such as these:
The text was updated successfully, but these errors were encountered: