feat: 还原示例图片并优化媒体选择交互

This commit is contained in:
que01 committed 2026-10-12 02:48:14 +08:00
1 parent 03f947e9b8
commit 567921e726
20 files changed
+212 -44

No files matched your search

+4
View File
@@ -27,6 +27,10 @@ export default defineConfig({
target: process.env.VITE_DEV_API_TARGET ?? "http://localhost:3001",
rewrite: (path) => path.replace(/^\/api/, ""),
},
"/media": {
target: process.env.VITE_MEDIA_API_TARGET ?? "http://localhost:3001",
changeOrigin: true,
},
...(process.env.VITE_MEDIA_PROXY_TARGET
? {
[`/${(process.env.OBJECT_STORAGE_BUCKET ?? "personal-brand-media").replace(/^\/+/, "")}`]: