This commit is contained in:
2025-12-30 17:37:14 +03:00
commit c33c5fd674
66 changed files with 10282 additions and 0 deletions

25
frontend/vite.config.js Normal file
View File

@@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/api': {
target: 'http://backend:8000',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
'/videos': {
target: 'http://backend:8000',
changeOrigin: true
},
'/download': {
target: 'http://backend:8000',
changeOrigin: true
}
}
}
})