File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ SERVER_PORT=31200
33CORS_ALLOW_ORIGIN =
44SECRET_KEY = " secret key for encrypting datasource passwords"
55ENABLE_AUTH = 0
6- ENABLE_SQL_PARSER = 0
6+ ENABLE_QUERY_PARSER = 0
77SUPER_ADMIN_PASSWORD =
88DATABASE_CONNECTION_TIMEOUT_MS =
99DATABASE_POOL_SIZE =
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Add a `.env` file based on `.env.sample`
1111- ` CORS_ALLOW_ORIGIN ` for configuring cors. separate multiple origins by ` ; ` . Defaults to ` http://localhost `
1212- ` SECRET_KEY ` for encrypting and decrypting passwords used in datasource configurations
1313- ` ENABLE_AUTH ` Whether to add authentication and authorization to routes. 0 = disabled, 1 = enabled
14- - ` ENABLE_SQL_PARSER ` Whether to enable Server-Side SQL parsing. 0 = disabled, 1 = enabled
14+ - ` ENABLE_QUERY_PARSER ` Whether to enable Server-Side Query parsing. 0 = disabled, 1 = enabled
1515- ` SUPER_ADMIN_PASSWORD ` The password which will be configured for the superadmin account during migration. Must be configured before migration is run. If value is not set, password will be 'secret'
1616- ` DATABASE_CONNECTION_TIMEOUT_MS ` for configuration the time after which the db connection will timeout in milliseconds. Default is 30000ms (30 seconds)
1717- ` DATABASE_POOL_SIZE ` for configuration the maximum number of clients in the pool
Original file line number Diff line number Diff line change @@ -6,4 +6,4 @@ export const DATABASE_CONNECTION_TIMEOUT_MS = parseInt(process.env.DATABASE_CONN
66export const DATABASE_POOL_SIZE = parseInt ( process . env . DATABASE_POOL_SIZE ?? '10' ) ;
77export const DEFAULT_LANGUAGE = 'en' ;
88export const FS_CACHE_RETAIN_TIME = '86400' ;
9- export const QUERY_PARSING_ENABLED = process . env . ENABLE_SQL_PARSER === '1' ;
9+ export const QUERY_PARSING_ENABLED = process . env . ENABLE_QUERY_PARSER === '1' ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = async (globalConfig) => {
88 process . env . WEBSITE_LOGO_URL_EN = 'WEBSITE_LOGO_URL_EN' ;
99 process . env . WEBSITE_LOGO_JUMP_URL = '/WEBSITE_LOGO_JUMP_URL' ;
1010 process . env . WEBSITE_FAVICON_URL = '/WEBSITE_FAVICON_URL' ;
11- process . env . ENABLE_SQL_PARSER = '1' ;
11+ process . env . ENABLE_QUERY_PARSER = '1' ;
1212
1313 dashboardDataSource . setOptions ( { url : process . env . END_2_END_TEST_PG_URL ! } ) ;
1414
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ module.exports = async (globalConfig) => {
88 process . env . WEBSITE_LOGO_URL_EN = 'WEBSITE_LOGO_URL_EN' ;
99 process . env . WEBSITE_LOGO_JUMP_URL = '/WEBSITE_LOGO_JUMP_URL' ;
1010 process . env . WEBSITE_FAVICON_URL = '/WEBSITE_FAVICON_URL' ;
11- process . env . ENABLE_SQL_PARSER = '1' ;
11+ process . env . ENABLE_QUERY_PARSER = '1' ;
1212
1313 dashboardDataSource . setOptions ( { url : process . env . INTEGRATION_TEST_PG_URL ! } ) ;
1414
You can’t perform that action at this time.
0 commit comments