fix: separate server and client for cu mode

This commit is contained in:
tresabhi committed 2026-05-05 17:43:12 -05:00
1 parent a218c791a9
commit 16c77f587a
7 files changed
+17 -12

No files matched your search

@@ -1,7 +1,8 @@
import { Nation } from "@protos/game/proto/legacy/blitz_static_tank_component";
import type { APIContext, GetStaticPaths } from "astro";
import { clientUnmountedResponse } from "../../../../core/api/responses";
import { clientUnmounted, game } from "../../../../core/game/game";
import { game } from "../../../../core/game/game";
import { clientUnmounted } from "../../../../core/game/unmounted";
export const getStaticPaths = (async () => {
return Object.values(Nation)
@@ -1,10 +1,11 @@
import type { APIContext } from "astro";
import { api } from "../../../core/api/dynamic";
import {
clientUnmountedResponse,
notFoundResponse,
clientUnmountedResponse,
notFoundResponse,
} from "../../../core/api/responses";
import { clientUnmounted, game } from "../../../core/game/game";
import { game } from "../../../core/game/game";
import { clientUnmounted } from "../../../core/game/unmounted";
export { getStaticPaths } from "./[id].json";