Files
graphs/vite.config.ts
Cauê Faleiros 940b2113cc
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 2m26s
fix: use robust date parsing utility to handle varying n8n date formats
2026-05-06 09:58:10 -03:00

27 lines
510 B
TypeScript

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [react(), tailwindcss()],
server: {
port: 3001,
proxy: {
'/api': {
target: 'http://localhost:3004',
changeOrigin: true,
}
}
},
preview: {
port: 3000,
proxy: {
'/api': {
target: 'http://localhost:3004',
changeOrigin: true,
}
}
}
})