-
-
- 上传比特流文件
-
+
+
+
上传比特流文件
-
-
+
+
-
-
-
-
+
+
+
\ No newline at end of file
+
diff --git a/vite.config.ts b/vite.config.ts
index 3101b16..10dbf8b 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -6,6 +6,7 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
import vueDevTools from 'vite-plugin-vue-devtools'
import tailwindcss from '@tailwindcss/postcss'
import autoprefixer from 'autoprefixer'
+import basicSsl from '@vitejs/plugin-basic-ssl'
// https://vite.dev/config/
export default defineConfig({
@@ -20,6 +21,7 @@ export default defineConfig({
}),
vueJsx(),
vueDevTools(),
+ // basicSsl()
],
resolve: {
alias: {
@@ -33,5 +35,18 @@ export default defineConfig({
autoprefixer()
]
}
+ },
+ build: {
+ outDir: 'wwwroot',
+ emptyOutDir: true, // also necessary
+ },
+ server: {
+ proxy: {
+ "/swagger": {
+ target: 'http://localhost:5000',
+ changeOrigin: true
+ }
+ },
+ port: 5173,
}
})