Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
support committed Mar 3, 2024
1 parent f2b17f0 commit a6ceba5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Docker Image CI

env:
TAG: 'latest'
TAG: 'tmp-test1'

on:
push:
branches: [ "main" ]
branches: [ "feature/tmp-test1" ]
workflow_dispatch:

jobs:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/grandnode.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Build and deploy .NET Core app to Linux WebApp grandnode
on:
push:
branches: [ "main" ]
branches: [ "feature/tmp-test1" ]

env:
AZURE_WEBAPP_NAME: grandnode-dev
AZURE_WEBAPP_PACKAGE_PATH: src/Web/Grand.Web/publish
AZURE_WEBAPP_PUBLISH_PROFILE: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }}
CONFIGURATION: Release
DOTNET_CORE_VERSION: 8.0.101
DOTNET_CORE_VERSION: 8.0.x
WORKING_DIRECTORY: src/Web/Grand.Web
jobs:
build-and-deploy:
Expand Down
6 changes: 5 additions & 1 deletion src/Web/Grand.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@

//build app
var app = builder.Build();

app.Use((context, next) =>
{
context.Request.Scheme = "https";
return next(context);
});
//request pipeline
StartupBase.ConfigureRequestPipeline(app, builder.Environment);

Expand Down

0 comments on commit a6ceba5

Please sign in to comment.