File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -63,5 +63,6 @@ COPY --from=publish /samples .
63
63
# Create Blazor sample image for website
64
64
FROM runtime as sample_blazor_ws
65
65
WORKDIR /samples/src/Blazor/Server
66
+ ENV Server__GitHubClientId=7d519556dd8207a36355
67
+ ENV Server__GitHubClientSecret=8e161ca4799b7e76e1c25429728db6b2430f2057
66
68
ENTRYPOINT ["dotnet" , "bin/Release/net5.0/publish/Samples.Blazor.Server.dll" ]
67
-
Original file line number Diff line number Diff line change @@ -79,5 +79,3 @@ services:
79
79
- " 80:80"
80
80
environment :
81
81
ASPNETCORE_URLS : " http://0.0.0.0:80"
82
- Server__GitHubClientId : " 7d519556dd8207a36355"
83
- Server__GitHubClientSecret : " 8e161ca4799b7e76e1c25429728db6b2430f2057"
Original file line number Diff line number Diff line change @@ -90,8 +90,6 @@ public void ConfigureServices(IServiceCollection services)
90
90
var serverSettings = c . GetRequiredService < ServerSettings > ( ) ;
91
91
options . ClientId = serverSettings . GitHubClientId ;
92
92
options . ClientSecret = serverSettings . GitHubClientSecret ;
93
- Log . LogInformation ( $ "GitHub ClientId: { options . ClientId } ") ;
94
- Log . LogInformation ( $ "GitHub ClientSecret: { options . ClientSecret } ") ;
95
93
} ) ;
96
94
97
95
// Web
You can’t perform that action at this time.
0 commit comments