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:
3
3
ignore_detectors:
4
4
- filecontent
5
5
- filename: src/vite-env.d.ts
6
- checksum: ffda6404f84b35b7e81317ddebcbe69cb2b1aed2727c61a58217dcbb475aaf15
6
+ checksum: 44662a93b9b4c919357057313f5fbb340fbbc107c607654b3a00d6062b265282
7
7
- filename: index.html
8
8
checksum: c285279b74fe0f3b7b387049dceeb5634f4a0a3431bdcca5fdef35c360ac2101
9
9
- filename: package-lock.json
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ export const ENV = {
7
7
ENVIRONMENT : import . meta. env . VITE_CONTENTSTACK_ENVIRONMENT as string ,
8
8
REGION : import . meta. env . VITE_CONTENTSTACK_REGION as string ,
9
9
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" ,
11
11
PREVIEW_TOKEN : import . meta. env . VITE_CONTENTSTACK_PREVIEW_TOKEN as string ,
12
12
PREVIEW_HOST : import . meta. env . VITE_CONTENTSTACK_PREVIEW_HOST as string ,
13
13
APP_HOST : import . meta. env . VITE_CONTENTSTACK_APP_HOST as string ,
14
14
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' ,
16
16
} ;
17
17
18
18
// basic env validation
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ interface ImportMetaEnv {
10
10
readonly VITE_CONTENTSTACK_REGION ?: string ;
11
11
readonly VITE_CONTENTSTACK_PREVIEW_TOKEN ?: string ;
12
12
readonly VITE_CONTENTSTACK_APP_HOST ?: string ;
13
- readonly VITE_CONTENTSTACK_LIVE_PREVIEW ?: string ;
13
+ readonly VITE_CONTENTSTACK_LIVE_PREVIEW ?: string | boolean ;
14
14
readonly VITE_CONTENTSTACK_PREVIEW_HOST ?: string ;
15
15
readonly VITE_CONTENTSTACK_API_HOST ?: string ;
16
16
readonly VITE_CONTENTSTACK_LIVE_EDIT_TAGS ?: string ;
You can’t perform that action at this time.
0 commit comments