Skip to content

Commit 8450570

Browse files
committed
Refactor
1 parent 3baa867 commit 8450570

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

RandomData2/RandomDataWebApi/Global.asax.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ protected void Application_Start()
2424
}
2525

2626
void Application_BeginRequest(object sender, EventArgs e)
27+
{
28+
ValidateUrlScheme();
29+
}
30+
31+
void ValidateUrlScheme()
2732
{
2833
if (!Request.IsSecureConnection &&
2934
RequireHttps &&

0 commit comments

Comments
 (0)