Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xF6 committed Jan 4, 2024
1 parent 6a5f97b commit 6e6d1dd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
12 changes: 5 additions & 7 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,10 @@
app.UseCors(app.Environment.IsDevelopment() ? "localhost" : "production");
app.UseAuthorization();
app.UseOperationCancelledMiddleware();
app.UseForwardedHeaders();
app.UseHttpsRedirection();
app.UseEndpoints(endpoints =>
{
endpoints.MapHealthChecks("/health");
endpoints.MapControllers();
});
app.UseForwardedHeaders();
if (!app.Environment.IsDevelopment())
app.UseHttpsRedirection();
app.MapControllers();
app.MapHealthChecks("/health");

app.Run();
2 changes: 1 addition & 1 deletion src/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"launchBrowser": false,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development",
"GOOGLE_APPLICATION_CREDENTIALS": "C:\\git\\additional-resource\\vein-lang-2ca627fcc703.json"
"GOOGLE_APPLICATION_CREDENTIALS": "C:\\git\\keys\\vein-lang.json"
},
"applicationUrl": "https://localhost:8080;http://localhost:5062",
"dotnetRunMessages": true
Expand Down
2 changes: 1 addition & 1 deletion src/core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Google.Cloud.Firestore" Version="3.4.0" />
<PackageReference Include="Google.Cloud.Storage.V1" Version="4.7.0" />
<PackageReference Include="Google.Cloud.Storage.V1" Version="3.7.0" />
<PackageReference Include="Markdig" Version="0.34.0" />
<PackageReference Include="MethodDecorator.Fody" Version="1.1.1" />
<PackageReference Include="MethodTimer.Fody" Version="3.2.2" />
Expand Down

0 comments on commit 6e6d1dd

Please sign in to comment.