Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 106149b

Browse files
Enabling HTTPS by default for development (#50)
1 parent 03519cd commit 106149b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎AspNetCoreVueStarter.csproj‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
<Copyright>MIT 2020 Software Ateliers</Copyright>
1414
<AssemblyName>AspNetCoreVueStarter</AssemblyName>
1515
<RootNamespace>AspNetCoreVueStarter</RootNamespace>
16-
<Version>2.5.1</Version>
17-
<AssemblyVersion>2.5.1.0</AssemblyVersion>
18-
<FileVersion>2.5.1.0</FileVersion>
16+
<Version>2.5.1</Version>
17+
<AssemblyVersion>2.5.1.0</AssemblyVersion>
18+
<FileVersion>2.5.1.0</FileVersion>
1919
</PropertyGroup>
2020

2121
<ItemGroup>
2222
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="3.1.8" />
23-
<PackageReference Include="VueCliMiddleware" Version="3.1.1" />
23+
<PackageReference Include="VueCliMiddleware" Version="3.1.2" />
2424
</ItemGroup>
2525

2626
<ItemGroup>

‎Startup.cs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
4444
app.UseExceptionHandler("/Error");
4545
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
4646
app.UseHsts();
47-
app.UseHttpsRedirection();
4847
}
4948

49+
app.UseHttpsRedirection();
50+
5051
app.UseStaticFiles();
5152
app.UseSpaStaticFiles();
5253

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /