This is an automated email from the ASF dual-hosted git repository.

zitadombi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 0399b5ece14 HDDS-13512. Set the Vite base URL for Recon (#8870)
0399b5ece14 is described below

commit 0399b5ece14150d19254c6c7f9315e1b3d2c84a1
Author: Abhishek Pal <pal.abhishek03012...@gmail.com>
AuthorDate: Wed Jul 30 16:20:24 2025 +0530

    HDDS-13512. Set the Vite base URL for Recon (#8870)
---
 .../src/main/resources/webapps/recon/ozone-recon-web/vite.config.ts    | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/vite.config.ts
 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/vite.config.ts
index 1a079c5efa4..908b708c9cd 100644
--- 
a/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/vite.config.ts
+++ 
b/hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/vite.config.ts
@@ -29,6 +29,9 @@ function pathResolve(dir: string) {
 
 // https://vitejs.dev/config/
 export default defineConfig({
+  // This "base" path determines the import locations for other files. By 
default it is '/' which causes all files to be
+  // fetched from a root URL. However in case of proxy we need to get this 
value relative to a base, hence it is set to empty string
+  base: "",
   plugins: [
     react({
       devTarget: "es2015" //SWC by default bypasses the build target, set dev 
target explicitly


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@ozone.apache.org
For additional commands, e-mail: commits-h...@ozone.apache.org

Reply via email to