From fcabc53b6efaf114fb7aadd33e8e756e2d5a67d4 Mon Sep 17 00:00:00 2001 From: GZTime Date: Thu, 22 Sep 2022 03:06:53 +0800 Subject: [PATCH] target: downgrade --- GZCTF/ClientApp/vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GZCTF/ClientApp/vite.config.ts b/GZCTF/ClientApp/vite.config.ts index a204a4519..ecfede30b 100644 --- a/GZCTF/ClientApp/vite.config.ts +++ b/GZCTF/ClientApp/vite.config.ts @@ -13,7 +13,7 @@ export default defineConfig(({ mode }) => { return { server: { - port: 3000, + port: 63000, proxy: { '/api': TARGET, '/swagger': TARGET, @@ -23,7 +23,7 @@ export default defineConfig(({ mode }) => { }, build: { outDir: 'build', - target: ['es2020', 'chrome86'], + target: ['es2018', 'chrome80'], assetsDir: 'static', chunkSizeWarningLimit: 2000, rollupOptions: {