Env-based config, Java 21 / Kotlin 2.4.10 upgrade #10
No files matched your search
+2
-1
@@ -1,3 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
public/node_modules
|
public/node_modules
|
||||||
public/dist
|
public/dist
|
||||||
|
private/minis-backend/build
|
||||||
+1
-1
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user