Pdf & LaTeX output filters could just be declared locally, rarely used.
This commit is contained in:
parent
6a1d4b599e
commit
a473c30057
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…
Add table
Add a link
Reference in a new issue