From bc8a6b30c0189f4a61d2dcab2fe786cbcefd24df Mon Sep 17 00:00:00 2001 From: nighca Date: Tue, 26 Mar 2024 15:52:43 +0800 Subject: [PATCH] typo --- spx-gui/.env | 2 +- spx-gui/src/widgets/vite.config.ts | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/spx-gui/.env b/spx-gui/.env index 3e766bfa6..c82bbba82 100644 --- a/spx-gui/.env +++ b/spx-gui/.env @@ -1,4 +1,4 @@ -# Reference src/util/env.ts +# Reference src/utils/env.ts # Casdoor configuration VITE_CASDOOR_ENDPOINT="https://casdoor-community.qiniu.io" diff --git a/spx-gui/src/widgets/vite.config.ts b/spx-gui/src/widgets/vite.config.ts index 949a72b7c..1323544c8 100644 --- a/spx-gui/src/widgets/vite.config.ts +++ b/spx-gui/src/widgets/vite.config.ts @@ -39,15 +39,7 @@ export default defineConfig(({ mode }) => { }, resolve: { alias: { - // '@': fileURLToPath(new URL('./src', import.meta.url)) - '@': resolve('../../src'), - comps: resolve('../components'), - apis: resolve('../apis'), - views: resolve('../views'), - utils: resolve('../utils'), - routes: resolve('../routes'), - styles: resolve('../styles'), - store: resolve('../store') + '@': resolve('../../src') } } }