Update build configuration for Vercel deployment on beta branch

This commit is contained in:
Vishva
2026-07-23 13:11:31 +05:30
parent 1b40a451b1
commit 10f3db88aa
5 changed files with 5 additions and 2 deletions
+2
View File
@@ -29,3 +29,5 @@ dist-ssr
# CMS data & uploads # CMS data & uploads
server/data/ server/data/
server/uploads/ server/uploads/
.vercel
.env*
Binary file not shown.
+1 -1
View File
@@ -12,7 +12,7 @@
{ "label": "Contact Us", "href": "#contactus", "type": "hash" } { "label": "Contact Us", "href": "#contactus", "type": "hash" }
], ],
"hero": { "hero": {
"video": "/assets/citpl-hero-dubai.mp4", "video": "/assets/citpl-hero.mp4",
"badge": "Chennai & Dubai • Trusted by 100+ Clients", "badge": "Chennai & Dubai • Trusted by 100+ Clients",
"headline": "Infinite Possibilities", "headline": "Infinite Possibilities",
"subheadline": "One Trusted Technology Partner" "subheadline": "One Trusted Technology Partner"
Binary file not shown.
+2 -1
View File
@@ -6,9 +6,10 @@ import { resolve } from 'path'
// Prod: https://demo.cavinkare.in/citpl_website/admin.html (base "/citpl_website/") // Prod: https://demo.cavinkare.in/citpl_website/admin.html (base "/citpl_website/")
export default defineConfig((configEnv) => { export default defineConfig((configEnv) => {
const isDev = configEnv.command === 'serve' const isDev = configEnv.command === 'serve'
const isVercel = Boolean(process.env.VERCEL)
return { return {
base: isDev ? '/' : '/citpl_website/', base: (isDev || isVercel) ? '/' : '/citpl_website/',
plugins: [react()], plugins: [react()],
server: { server: {
proxy: { proxy: {