Skip to content

Commit

Permalink
- CHG: Updated Dockerfile to Java 21.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-raubach committed Nov 1, 2024
1 parent 0d87492 commit 574aa6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN apk add --no-cache openjdk11 && \
/opt/gradle-6.0.1/bin/gradle -p /opt/frickl-server war


FROM tomcat:10.1-jdk11
FROM tomcat:10.1-jdk21

LABEL maintainer="[email protected]"

Expand Down
6 changes: 4 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,12 @@ export default {
emitter.off('show-download-menu', this.showDownloadMenu)
},
created: async function () {
const instance = getCurrentInstance()
await apiGetSettings(result => {
if (result) {
if (result.plausibleDomain) {
getCurrentInstance().use(createPlausible({
instance.use(createPlausible({
init: {
domain: result.plausibleDomain,
hashMode: result.plausibleHashMode || true,
Expand All @@ -373,7 +375,7 @@ export default {
}
if (result.googleAnalyticsKey) {
getCurrentInstance().use(VueGtag, {
instance.use(VueGtag, {
config: {
id: result.googleAnalyticsKey
},
Expand Down

0 comments on commit 574aa6f

Please sign in to comment.