Env-based config, Java 21 / Kotlin 2.4.10 upgrade #10

Merged
walamana merged 2 commits from chore/java21-kotlin-2.4 into main 2026-11-19 16:48:57 +01:00
4 changed files with 6 additions and 5 deletions
Showing only changes of commit fc0b380b35 - Show all commits

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
node_modules node_modules
public/node_modules public/node_modules
public/dist public/dist
private/minis-backend/build
+1 -1
View File
@@ -16,7 +16,7 @@ RUN npm install
RUN npm run build-only RUN npm run build-only
FROM amazoncorretto:18 as miniplan FROM amazoncorretto:21 as miniplan
LABEL authors="walamana" LABEL authors="walamana"
RUN mkdir -p /app/public RUN mkdir -p /app/public
+2 -2
View File
@@ -5,9 +5,9 @@ val logback_version: String by project
val exposed_version: String by project val exposed_version: String by project
val h2_version: String by project val h2_version: String by project
plugins { plugins {
kotlin("jvm") version "2.3.21" kotlin("jvm") version "2.4.10"
id("io.ktor.plugin") version "3.5.1" id("io.ktor.plugin") version "3.5.1"
kotlin("plugin.serialization") version "2.3.21" kotlin("plugin.serialization") version "2.4.10"
id("com.palantir.docker") version "0.36.0" id("com.palantir.docker") version "0.36.0"
} }
+2 -2
View File
@@ -13,9 +13,9 @@ const router = createRouter({
{ {
path: "/", path: "/",
name: "home-redirect", name: "home-redirect",
component: null, component: HomeView,
beforeEnter: async (to, from) => { beforeEnter: async (to, from) => {
const groups = (await API.getPlans()) const groups = (await API.getPlans().then(res => Array.isArray(res) ? res : []))
.sort((a, b) => a.id - b.id) .sort((a, b) => a.id - b.id)
return { return {
name: "home", name: "home",