fix hosting files

This commit is contained in:
Kieran 2023-05-09 15:15:34 +01:00
parent 4de977c1dd
commit 983bdc4741
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -93,10 +93,7 @@ static class Program
await RunMigrations(app.Services);
}
#if HostSPA
app.UseStaticFiles();
#endif
app.UseHttpLogging();
app.UseRouting();
app.UseCors();