File tree Expand file tree Collapse file tree
apps/api/src/configuration Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ PLAYGROUND_DEV_SERVER_PORT=3750
7676GATEWAY_DEV_SERVER_PORT = 3500
7777# The port to use for the Vite (full web app) development server
7878WEB_DEV_SERVER_PORT = 3000
79-
79+ # Set an arbitrary delay (in milliseconds) for all responses (useful for testing suspense)
80+ API_RESPONSE_DELAY = 0
8081# If set to 'true' and NODE_ENV === 'development', then login is automated
8182VITE_DEV_BYPASS_AUTH = false
8283# The username to use if VITE_DEV_BYPASS_AUTH is set to true
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ export const $Configuration = z
1414 . object ( {
1515 API_DEV_SERVER_PORT : z . coerce . number ( ) . positive ( ) . int ( ) . optional ( ) ,
1616 API_PROD_SERVER_PORT : z . coerce . number ( ) . positive ( ) . int ( ) . default ( 80 ) ,
17+ API_RESPONSE_DELAY : z . coerce . number ( ) . positive ( ) . int ( ) . optional ( ) ,
1718 DANGEROUSLY_DISABLE_PBKDF2_ITERATION : $BooleanString . default ( false ) ,
1819 DEBUG : $BooleanString ,
1920 GATEWAY_API_KEY : z . string ( ) . min ( 32 ) ,
You can’t perform that action at this time.
0 commit comments