diff --git a/README.md b/README.md index d02727e9..468ddd8c 100644 --- a/README.md +++ b/README.md @@ -194,11 +194,11 @@ Support this project by becoming a sponsor. Your name will show up in the Contri - Mattias Johnson ([@mattiasJohnson](https://github.com/mattiasJohnson)) - Max Ricketts-Uy ([@MaxRickettsUy](https://github.com/MaxRickettsUy)) - Mickael Asseline ([@PAPAMICA](https://github.com/PAPAMICA)) +- Mitchell Rowton ([@mrowton](https://github.com/mrowton)) -- Mitchell Rowton ([@mrowton](https://github.com/mrowton)) - M. Scott Ford ([@mscottford](https://github.com/mscottford)) - Nick Halase ([@nhalase](https://github.com/nhalase)) - Nick Price ([@DominoTree](https://github.com/DominoTree)) @@ -214,6 +214,7 @@ Support this project by becoming a sponsor. Your name will show up in the Contri - Simon Ott ([@ottsimon](https://github.com/ottsimon)) - Stephan Kristyn ([@stevek-pro](https://github.com/stevek-pro)) - Theodore Chu ([@TheodoreChu](https://github.com/TheodoreChu)) +- Tim Elmer ([@tim-elmer](https://github.com/tim-elmer)) - Tyler Denman ([@tylerguy](https://github.com/tylerguy)) - Victor Bilgin ([@vbilgin](https://github.com/vbilgin)) - VMO Solutions ([@vmosolutions](https://github.com/vmosolutions)) diff --git a/dev/helm/templates/deployment.yaml b/dev/helm/templates/deployment.yaml index feebbe30..21db6a82 100644 --- a/dev/helm/templates/deployment.yaml +++ b/dev/helm/templates/deployment.yaml @@ -14,6 +14,8 @@ spec: metadata: labels: {{- include "wiki.selectorLabels" . | nindent 8 }} + annotations: + {{- toYaml .Values.podAnnotations | nindent 8 }} spec: {{- with .Values.imagePullSecrets }} imagePullSecrets: diff --git a/dev/helm/values.yaml b/dev/helm/values.yaml index 2118debd..099a694c 100644 --- a/dev/helm/values.yaml +++ b/dev/helm/values.yaml @@ -42,6 +42,8 @@ startupProbe: path: /healthz port: http +podAnnotations: {} + podSecurityContext: {} # fsGroup: 2000 diff --git a/server/core/auth.js b/server/core/auth.js index 38f0b3b8..91ef2101 100644 --- a/server/core/auth.js +++ b/server/core/auth.js @@ -156,6 +156,9 @@ module.exports = { } else { res.cookie('jwt', newToken.token, { expires: DateTime.utc().plus({ days: 365 }).toJSDate() }) } + + // Avoid caching this response + res.set('Cache-Control', 'no-store') } catch (errc) { WIKI.logger.warn(errc) return next()