From 9a7e73a99be4b048fc8b7c84f380d3a8e8beb27b Mon Sep 17 00:00:00 2001 From: Karl Andin Date: Wed, 27 Mar 2024 09:50:15 +0100 Subject: [PATCH] feat(KUI-1282): add support for fallback to kth-style 9 cortina blocks --- package-lock.json | 10 +++++----- package.json | 2 +- server/server.js | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index daf17208..922c9345 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,7 @@ "dependencies": { "@kth/api-call": "^4.1.0", "@kth/kth-node-response": "^1.0.7", - "@kth/kth-node-web-common": "^9.1.0", + "@kth/kth-node-web-common": "^9.2.0", "@kth/log": "^4.0.7", "@kth/monitor": "^4.2.1", "@kth/server": "^4.1.0", @@ -3220,16 +3220,16 @@ "integrity": "sha512-iXRZLTSaIpuGEvZ7no9KUEp2+YATyuqdm72kglxGJCXRwIFhBDLRb9rHgUkuxu8fhhNtv8nH7F9v4Q2HhJL/cw==" }, "node_modules/@kth/kth-node-web-common": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@kth/kth-node-web-common/-/kth-node-web-common-9.1.0.tgz", - "integrity": "sha512-zmsVvtlfwU+Jht0uYnKX+l+U0Pd6Vef8lKVa6YL5Q+FsKaeRGf0AgSnvPVnT8JxP0F/Zm6ax/sNbbeUJa7SQoQ==", + "version": "9.2.0", + "resolved": "https://registry.npmjs.org/@kth/kth-node-web-common/-/kth-node-web-common-9.2.0.tgz", + "integrity": "sha512-mjTPxreqwP1C/htWdJ63l9oHeTvJJjx70Z4qeYm1+DTEPZpEZK1tSEr+ZrmfIqiQHQM4sBGURaIwRqTmnd1vDg==", "dependencies": { "@kth/cortina-block": "^5.1.1", "@kth/log": "^4.0.7", "entities": "^2.2.0", "handlebars": "^4.7.8", "kth-node-i18n": "^1.0.18", - "kth-node-redis": "^3.2.0", + "kth-node-redis": "^3.3.0", "locale": "^0.1.0" } }, diff --git a/package.json b/package.json index 23664823..a1b661b2 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "dependencies": { "@kth/api-call": "^4.1.0", "@kth/kth-node-response": "^1.0.7", - "@kth/kth-node-web-common": "^9.1.0", + "@kth/kth-node-web-common": "^9.2.0", "@kth/log": "^4.0.7", "@kth/monitor": "^4.2.1", "@kth/server": "^4.1.0", diff --git a/server/server.js b/server/server.js index ca65fa79..5f81bf2e 100644 --- a/server/server.js +++ b/server/server.js @@ -152,6 +152,7 @@ server.use( globalLink: config.blockApi.globalLink, addBlocks: config.blockApi.addBlocks, redisKey: config.cache.cortinaBlock.redisKey, + useStyle10: false, // globalLink: true ---> don't use it, because we use local site language link, not global kth link }) )