fix https mix content
This commit is contained in:
+1
-10
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user