From 4db01a99d3b7de7a4eb4f03172cea2c457f42760 Mon Sep 17 00:00:00 2001 From: Simon Bernard Date: Wed, 11 Dec 2024 15:20:43 +0100 Subject: [PATCH] [demo-ui] fix vite config which prevent demo to work on sandbox --- leshan-demo-bsserver/webapp/vite.config.js | 2 +- leshan-demo-server/webapp/vite.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/leshan-demo-bsserver/webapp/vite.config.js b/leshan-demo-bsserver/webapp/vite.config.js index 9320fa2224..e8b97bf8b9 100644 --- a/leshan-demo-bsserver/webapp/vite.config.js +++ b/leshan-demo-bsserver/webapp/vite.config.js @@ -22,7 +22,7 @@ const outputDir = process.env.MAVEN_OUTPUT_DIR // https://vitejs.dev/config/ export default defineConfig({ - //base: "./", // should be deleted ? + base: "./", plugins: [ VueRouter(), Vue({ diff --git a/leshan-demo-server/webapp/vite.config.js b/leshan-demo-server/webapp/vite.config.js index abff181382..9c2e8a8a6e 100644 --- a/leshan-demo-server/webapp/vite.config.js +++ b/leshan-demo-server/webapp/vite.config.js @@ -23,7 +23,7 @@ const outputDir = process.env.MAVEN_OUTPUT_DIR // https://vitejs.dev/config/ export default defineConfig({ - //base: "./", // should be deleted ? + base: "./", plugins: [ VueRouter(), Vue({