File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -128,19 +128,19 @@ public void ConfigureServices(IServiceCollection services)
128128``` csharp
129129public void ConfigureServices (IServiceCollection services )
130130{
131- .... .
131+ .... .
132132 services .AddOptions <GotenbergSharpClientOptions >()
133- .Bind (Configuration .GetSection (nameof (GotenbergSharpClient )))
134- .PostConfigure (options =>
135- {
136- // Override or add settings programmatically (runs after binding)
137- options .TimeOut = TimeSpan .FromMinutes (10 ); // Override timeout
138- options .BasicAuthUsername = Environment .GetEnvironmentVariable (" GOTENBERG_USER" );
139- options .BasicAuthPassword = Environment .GetEnvironmentVariable (" GOTENBERG_PASS" );
140- });
133+ .Bind (Configuration .GetSection (nameof (GotenbergSharpClient )))
134+ .PostConfigure (options =>
135+ {
136+ // Override or add settings programmatically (runs after binding)
137+ options .TimeOut = TimeSpan .FromMinutes (10 ); // Override timeout
138+ options .BasicAuthUsername = Environment .GetEnvironmentVariable (" GOTENBERG_USER" );
139+ options .BasicAuthPassword = Environment .GetEnvironmentVariable (" GOTENBERG_PASS" );
140+ });
141141
142142 services .AddGotenbergSharpClient ();
143- .... .
143+ .... .
144144}
145145```
146146
You can’t perform that action at this time.
0 commit comments