Skip to content

Commit

Permalink
Merge pull request #76 from jujaga/bugfix/params
Browse files Browse the repository at this point in the history
Routine maintenance and unauthenticated mode bugfix
  • Loading branch information
MichaelChung123 authored Oct 15, 2021
2 parents f65d1af + 2fde4fd commit e86b4e7
Show file tree
Hide file tree
Showing 6 changed files with 8,218 additions and 1,038 deletions.
2 changes: 1 addition & 1 deletion app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM docker.io/bcgovimages/alpine-node-libreoffice:1.0.4
FROM docker.io/bcgovimages/alpine-node-libreoffice:1.0.5

ARG APP_ROOT=/opt/app-root/src
ENV NO_UPDATE_NOTIFIER=true \
Expand Down
3 changes: 3 additions & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ if (process.env.NODE_ENV !== 'test') {

// Use Keycloak OIDC Middleware
if (config.has('keycloak.enabled')) {
log.info('Running in authenticated mode');
app.use(keycloak.middleware());
} else {
log.info('Running in public mode');
}

// Block requests until service is ready and mounted
Expand Down
Loading

0 comments on commit e86b4e7

Please sign in to comment.