fix https mix content

This commit is contained in:
2026-05-01 10:18:44 +07:00
parent df3a3cd188
commit b2d3d09eb0
3 changed files with 13 additions and 11 deletions
+1 -10
View File
@@ -1,7 +1,6 @@
import { defineConfig, loadEnv } from 'vite'
import react from '@vitejs/plugin-react'
import tsconfigPaths from "vite-tsconfig-paths";
import { traeBadgePlugin } from 'vite-plugin-trae-solo-badge';
// https://vite.dev/config/
export default defineConfig(({ mode }) => {
@@ -13,6 +12,7 @@ export default defineConfig(({ mode }) => {
proxy: {
"/api": backend,
"/videos": backend,
"/mtx": "http://127.0.0.1:8889",
},
},
build: {
@@ -24,15 +24,6 @@ export default defineConfig(({ mode }) => {
plugins: ["react-dev-locator"],
},
}),
traeBadgePlugin({
variant: "dark",
position: "bottom-right",
prodOnly: true,
clickable: true,
clickUrl: "https://www.trae.ai/solo?showJoin=1",
autoTheme: true,
autoThemeTarget: "#root",
}),
tsconfigPaths(),
],
test: {