From b0830f7f71767c346b1e92d4d87cdc62ab8442b3 Mon Sep 17 00:00:00 2001 From: MeghdadFadaee Date: Sun, 14 Jun 2026 15:41:54 +0330 Subject: [PATCH] update base path in vite config --- vite.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",