From 1645c12b0af5579aa56964f4bbcf2d675af7e223 Mon Sep 17 00:00:00 2001 From: ReaJason Date: Mon, 30 Mar 2026 22:18:03 +0800 Subject: [PATCH] build: ui not found --- Dockerfile | 2 +- web/react-router.config.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index afe5189a..05f7001f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN git clone --depth 1 https://github.com/ReaJason/MemShellParty.git . && \ rm -rf vul integration-test tools # https://hub.docker.com/r/oven/bun -FROM --platform=$BUILDPLATFORM oven/bun:1.3.6 AS frontend +FROM --platform=$BUILDPLATFORM oven/bun:1.3.11 AS frontend ARG ROUTE_ROOT_PATH="/" ARG CONTEXT_PATH="" diff --git a/web/react-router.config.ts b/web/react-router.config.ts index ce6f09bc..7e164db4 100644 --- a/web/react-router.config.ts +++ b/web/react-router.config.ts @@ -1,10 +1,12 @@ import type { Config } from '@react-router/dev/config'; import { glob } from 'node:fs/promises'; import { createGetUrl, getSlugs } from 'fumadocs-core/source'; +import { env } from "node:process"; const getUrl = createGetUrl('/docs'); export default { + basename: env.VITE_APP_BASE_PATH, ssr: false, future: { v8_middleware: true,