I'm running a .net core app with vue.js as a SPA
Suddenly Im having issues accessing API's from cetain clients. Performing a GET on the out of the box sample API http://localhost:63861/api/SampleData/WeatherForecasts
In Postman I get a 200OK with html and this message
We're sorry but ClientApp doesn't work properly without JavaScript enabled. Please enable it to continue.
With RestClient I get 404 html with this message
Cannot GET /Account/Login
If I access the url in chrome the data appears fine, no issues. Also within my client app API calls work fine.
Also, at one point this worked fine from the clients too
Where I could I possibly be going wrong with this?
maybe my vue setup? Any pointers where to check will be helpful. This is a snippet from my startup.cs
app.UseSpa(spa =>
{
spa.Options.SourcePath = "ClientApp";
if (env.IsDevelopment())
{
spa.UseVueCli(npmScript: "serve", port: 8080);
}
});