feat: 上传

This commit is contained in:
2025-09-27 15:14:02 +08:00
parent 7296a13e88
commit 60c28c2297
7 changed files with 134 additions and 51 deletions

View File

@@ -4,12 +4,18 @@ import path, { resolve } from "path";
import { inspectorServer } from "@react-dev-inspector/vite-plugin";
import basicSsl from "@vitejs/plugin-basic-ssl";
export default defineConfig({
plugins: [react(), basicSsl()],
// basicSsl()
plugins: [react()],
server: {
https: {},
port: 3000,
host: "0.0.0.0",
open: true,
proxy: {
"/app-api": {
target: "http://192.168.1.231:48080",
changeOrigin: true,
},
},
},
css: {
modules: {},