Update build configuration for Vercel deployment on beta branch
This commit is contained in:
@@ -29,3 +29,5 @@ dist-ssr
|
||||
# CMS data & uploads
|
||||
server/data/
|
||||
server/uploads/
|
||||
.vercel
|
||||
.env*
|
||||
|
||||
Binary file not shown.
@@ -12,7 +12,7 @@
|
||||
{ "label": "Contact Us", "href": "#contactus", "type": "hash" }
|
||||
],
|
||||
"hero": {
|
||||
"video": "/assets/citpl-hero-dubai.mp4",
|
||||
"video": "/assets/citpl-hero.mp4",
|
||||
"badge": "Chennai & Dubai • Trusted by 100+ Clients",
|
||||
"headline": "Infinite Possibilities",
|
||||
"subheadline": "One Trusted Technology Partner"
|
||||
|
||||
Binary file not shown.
+2
-1
@@ -6,9 +6,10 @@ import { resolve } from 'path'
|
||||
// Prod: https://demo.cavinkare.in/citpl_website/admin.html (base "/citpl_website/")
|
||||
export default defineConfig((configEnv) => {
|
||||
const isDev = configEnv.command === 'serve'
|
||||
const isVercel = Boolean(process.env.VERCEL)
|
||||
|
||||
return {
|
||||
base: isDev ? '/' : '/citpl_website/',
|
||||
base: (isDev || isVercel) ? '/' : '/citpl_website/',
|
||||
plugins: [react()],
|
||||
server: {
|
||||
proxy: {
|
||||
|
||||
Reference in New Issue
Block a user