chore: upgrade to Java 21 and Kotlin 2.4.10, harden home redirect
- Run the image on amazoncorretto:21 (matches CI test JDK) - Bump Kotlin and serialization plugin to 2.4.10 - Ignore backend build dir in Docker context - Home redirect: render HomeView and tolerate non-array getPlans() response Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
23e3c6a990
commit
fc0b380b35
4 files changed
+7
-6
No files matched your search
@@ -13,9 +13,9 @@ const router = createRouter({
|
||||
{
|
||||
path: "/",
|
||||
name: "home-redirect",
|
||||
component: null,
|
||||
component: HomeView,
|
||||
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)
|
||||
return {
|
||||
name: "home",
|
||||
|
||||
Reference in new issue
Block a user