Skip to content

Commit 31a4e25

Browse files
committed
continue to test failed env setting
1 parent 58c7de5 commit 31a4e25

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

lib/stac-auth-proxy/index.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,10 @@ export class StacAuthProxyLambdaRuntime extends Construct {
3838
// swagger-ui config
3939
OPENAPI_SPEC_ENDPOINT: "/api",
4040
SWAGGER_UI_ENDPOINT: "/api.html",
41-
SWAGGER_UI_INIT_OAUTH:
42-
props.stacApiClientId &&
43-
cdk.Stack.of(this).toJsonString({
44-
clientId: props.stacApiClientId,
45-
usePkceWithAuthorizationCodeGrant: true,
46-
}),
41+
SWAGGER_UI_INIT_OAUTH: cdk.Stack.of(this).toJsonString({
42+
clientId: props.stacApiClientId,
43+
usePkceWithAuthorizationCodeGrant: true,
44+
}),
4745

4846
// customized settings
4947
...props.apiEnv,

0 commit comments

Comments
 (0)