File tree 2 files changed +4
-4
lines changed
src/ProjectTemplates/Web.ProjectTemplates/content 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ open System.Threading.Tasks
10
10
open Microsoft.AspNetCore
11
11
open Microsoft.AspNetCore .Builder
12
12
open Microsoft.AspNetCore .Hosting
13
- #if ! NoHttps
13
+ #if ( ! NoHttps)
14
14
open Microsoft.AspNetCore .HttpsPolicy
15
15
#endif
16
16
open Microsoft.Extensions .Configuration
@@ -36,7 +36,7 @@ module Program =
36
36
37
37
if not ( builder.Environment.IsDevelopment()) then
38
38
app.UseExceptionHandler( " /Home/Error" )
39
- #if HasHttpsProfile
39
+ #if ( HasHttpsProfile)
40
40
app.UseHsts() |> ignore // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
41
41
42
42
app.UseHttpsRedirection()
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ open System.Threading.Tasks
8
8
open Microsoft.AspNetCore
9
9
open Microsoft.AspNetCore .Builder
10
10
open Microsoft.AspNetCore .Hosting
11
- #if ! NoHttps
11
+ #if ( ! NoHttps)
12
12
open Microsoft.AspNetCore .HttpsPolicy
13
13
#endif
14
14
open Microsoft.Extensions .Configuration
@@ -28,7 +28,7 @@ module Program =
28
28
29
29
let app = builder.Build()
30
30
31
- #if HasHttpsProfile
31
+ #if ( HasHttpsProfile)
32
32
app.UseHttpsRedirection()
33
33
#endif
34
34
You can’t perform that action at this time.
0 commit comments