Skip to content

Commit 0598310

Browse files
committed
- temporary: no https for non-windows
1 parent 461591d commit 0598310

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Botticelli/Program.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,11 @@
129129
app.UseSwaggerUI();
130130
}
131131

132-
app.UseHttpsRedirection();
132+
if (OperatingSystem.IsWindows())
133+
{
134+
app.UseHttpsRedirection();
135+
}
136+
133137
app.UseHsts();
134138
app.UseRouting();
135139

0 commit comments

Comments
 (0)