diff --git a/vite.config.ts b/vite.config.ts index 2f8e73f..387dd6b 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,7 +2,8 @@ import { defineConfig } from "vitest/config"; import react from "@vitejs/plugin-react"; export default defineConfig({ - base: "/OpenXD/", + // Keep build assets portable across domain roots and repository subpaths. + base: "./", plugins: [react()], test: { environment: "jsdom",