Server Configured

This commit is contained in:
RIT Services
2026-08-03 12:28:42 +00:00
parent 9f419a2503
commit fafb8d5bce
19 changed files with 93 additions and 131 deletions

View File

@@ -5,11 +5,14 @@ import react from '@vitejs/plugin-react'
export default defineConfig({
plugins: [react()],
server: {
port: 5175,
host: true,
port: 5175,
allowedHosts: [
'cmsadmin.rit-services.in'
],
proxy: {
'/api': {
target: 'http://localhost:8080',
target: 'https://cmsapi.rit-services.in',
changeOrigin: true,
secure: false,
}