mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
build(ui): support base_path
This commit is contained in:
@@ -2,6 +2,7 @@ import * as z from "zod";
|
||||
|
||||
const EnvSchema = z.object({
|
||||
API_URL: z.optional(z.string()),
|
||||
BASE_PATH: z.optional(z.string()),
|
||||
MODE: z.string(),
|
||||
});
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ const queryClient = new QueryClient();
|
||||
|
||||
const router = createRouter({
|
||||
routeTree,
|
||||
basepath: env.BASE_PATH,
|
||||
defaultPreload: "intent",
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user