website refactor
This commit is contained in:
@@ -75,7 +75,7 @@ export function getForceReseed(): boolean {
|
||||
/**
|
||||
* When set, the API will generate `openapi.json` and optionally reduce logging noise.
|
||||
*
|
||||
* Matches previous behavior: any value (even "0") counts as enabled if the var is present.
|
||||
* Matches previous behavior: unknown value (even "0") counts as enabled if the var is present.
|
||||
*/
|
||||
export function getGenerateOpenapi(): boolean {
|
||||
return isSet(process.env.GENERATE_OPENAPI);
|
||||
|
||||
Reference in New Issue
Block a user