Skip to content

Commit

Permalink
bug fixing when no oidc is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
f-w committed Feb 28, 2021
1 parent 6026f25 commit d05bce9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ npm-debug.log
**/*.local.*
/docs/
/server/database/data.json
/server/certs
/chart
4 changes: 2 additions & 2 deletions src/web-admin-console.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ export default (server: ExpressServer) => {
htmlWebpackPlugin: {
options: {
apiUrlPrefix: appConfig.restApiRoot,
oidcAuthority: appConfig.oidc.discoveryUrl,
oidcClientId: appConfig.oidc.clientId,
oidcAuthority: appConfig.oidc?.discoveryUrl,
oidcClientId: appConfig.oidc?.clientId,
},
},
ApiUrlPrefix: appConfig.restApiRoot,
Expand Down

0 comments on commit d05bce9

Please sign in to comment.