The next generation of the Teknik Services. Written in ASP.NET.
https://www.teknik.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
390 B
16 lines
390 B
using System.Web; |
|
using System.Web.Mvc; |
|
using Teknik.Filters; |
|
|
|
namespace Teknik |
|
{ |
|
public class FilterConfig |
|
{ |
|
public static void RegisterGlobalFilters(GlobalFilterCollection filters) |
|
{ |
|
//filters.Add(new HandleErrorAttribute()); |
|
filters.Add(new AuthorizeAttribute()); |
|
filters.Add(new RequireHttpsAttribute()); |
|
} |
|
} |
|
}
|
|
|