File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ fileignoreconfig:
33 ignore_detectors:
44 - filecontent
55- filename: src/vite-env.d.ts
6- checksum: ffda6404f84b35b7e81317ddebcbe69cb2b1aed2727c61a58217dcbb475aaf15
6+ checksum: 44662a93b9b4c919357057313f5fbb340fbbc107c607654b3a00d6062b265282
77- filename: index.html
88 checksum: c285279b74fe0f3b7b387049dceeb5634f4a0a3431bdcca5fdef35c360ac2101
99- filename: package-lock.json
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ export const ENV = {
77 ENVIRONMENT : import . meta. env . VITE_CONTENTSTACK_ENVIRONMENT as string ,
88 REGION : import . meta. env . VITE_CONTENTSTACK_REGION as string ,
99 BRANCH : import . meta. env . VITE_CONTENTSTACK_BRANCH as string || "main" ,
10- LIVE_PREVIEW : import . meta. env . VITE_CONTENTSTACK_LIVE_PREVIEW as string ,
10+ LIVE_PREVIEW : import . meta. env . VITE_CONTENTSTACK_LIVE_PREVIEW as string || "false" ,
1111 PREVIEW_TOKEN : import . meta. env . VITE_CONTENTSTACK_PREVIEW_TOKEN as string ,
1212 PREVIEW_HOST : import . meta. env . VITE_CONTENTSTACK_PREVIEW_HOST as string ,
1313 APP_HOST : import . meta. env . VITE_CONTENTSTACK_APP_HOST as string ,
1414 API_HOST : import . meta. env . VITE_CONTENTSTACK_API_HOST as string ,
15- LIVE_EDIT_TAGS : import . meta. env . VITE_CONTENTSTACK_LIVE_EDIT_TAGS as string ,
15+ LIVE_EDIT_TAGS : import . meta. env . VITE_CONTENTSTACK_LIVE_EDIT_TAGS as string || 'false' ,
1616} ;
1717
1818// basic env validation
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ interface ImportMetaEnv {
1010 readonly VITE_CONTENTSTACK_REGION ?: string ;
1111 readonly VITE_CONTENTSTACK_PREVIEW_TOKEN ?: string ;
1212 readonly VITE_CONTENTSTACK_APP_HOST ?: string ;
13- readonly VITE_CONTENTSTACK_LIVE_PREVIEW ?: string ;
13+ readonly VITE_CONTENTSTACK_LIVE_PREVIEW ?: string | boolean ;
1414 readonly VITE_CONTENTSTACK_PREVIEW_HOST ?: string ;
1515 readonly VITE_CONTENTSTACK_API_HOST ?: string ;
1616 readonly VITE_CONTENTSTACK_LIVE_EDIT_TAGS ?: string ;
You can’t perform that action at this time.
0 commit comments