Pdf & LaTeX output filters could just be declared locally, rarely used.

main
Paul Schneider 10 years ago
parent 3a910212ff
commit ba311d74b1
1 changed files with 2 additions and 2 deletions

@ -73,11 +73,11 @@ namespace Yavsc
var oauthFacebookSettings = Configuration.GetSection("Authentication").GetSection("Facebook");
services.Configure<FacebookOAuth2AppSettings>(oauthFacebookSettings);
services.Configure<MvcOptions>(options =>
/* services.Configure<MvcOptions>(options =>
{
options.Filters.Add(new ProducesAttribute("text/x-tex"));
options.Filters.Add(new ProducesAttribute("text/pdf"));
});
});*/
services.Configure<RequestLocalizationOptions>(options =>
{

Loading…