|
@@ -150,10 +150,7 @@ internal static class StartupExtensions
|
|
|
//c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
|
|
|
});
|
|
|
}
|
|
|
- app.UseStaticFiles(new StaticFileOptions
|
|
|
- {
|
|
|
- FileProvider = new PhysicalFileProvider(Path.Combine(Directory.GetCurrentDirectory(), @"Template"))
|
|
|
- });
|
|
|
+
|
|
|
app.UseCors(CorsOrigins);
|
|
|
|
|
|
app.UseAuthentication();
|