clipwright/dashboard/vite.config.js
juancarlos.cavero 86117d3f3e feat: AI Shorts low-cost mode, UGC gallery, universal business support
- Add Low Cost video mode (Hailuo 2.3 + VEED Lipsync ~$0.65) alongside Premium (Kling Avatar v2 ~$2)
- Add UGC video gallery with SEO pages (/gallery, /video/{id}) and JSON-LD structured data
- Make AI Shorts work for any business (URL optional, manual description supported)
- Add shared actor gallery on public S3 with prompt history
- Add custom actor photo upload
- Add Upload-Post social publishing to AI Shorts result step
- Add UGC Gallery tab with Videos + Avatars tabs
- Update landing page with 3-tools-in-1 section (Clip Generator, AI Shorts, YouTube Studio)
- Rename SaaS Shorts to AI Shorts, Dashboard to Clip Generator
- Add vite proxy for /gallery and /video routes
- Add image upload validation
- Remove hardcoded bucket names from code
- Update README with full documentation and screenshot references

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 20:29:23 +01:00

35 lines
751 B
JavaScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
server: {
allowedHosts: [
'openshorts.app',
'www.openshorts.app'
],
proxy: {
'/api': {
target: 'http://backend:8000',
changeOrigin: true,
},
'/videos': {
target: 'http://backend:8000',
changeOrigin: true,
},
'/thumbnails': {
target: 'http://backend:8000',
changeOrigin: true,
},
'/gallery': {
target: 'http://backend:8000',
changeOrigin: true,
},
'/video': {
target: 'http://backend:8000',
changeOrigin: true,
}
}
}
})