Skip to content

Commit ed61da2

Browse files
committed
Add env var
1 parent 3d0d0e9 commit ed61da2

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/lib/config/environmentalVariableValidation.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ export const environmentalVariablesConfig: AstroUserConfig['env'] = {
7171
default: 4321,
7272
optional: true,
7373
}),
74+
/**
75+
* Build-time flag used to enable generation of prerendered /print/ pages.
76+
*/
77+
GENERATE_PDFS: envField.string({
78+
access: 'public',
79+
context: 'server',
80+
optional: true,
81+
}),
7482
/**
7583
* Google Maps Platform
7684
*

0 commit comments

Comments
 (0)