File tree Expand file tree Collapse file tree 3 files changed +0
-3
lines changed
Expand file tree Collapse file tree 3 files changed +0
-3
lines changed Original file line number Diff line number Diff line change 11ALGOLIA_APP_ID =
22ALGOLIA_INDEX_NAME =
33ALGOLIA_WRITE_API_KEY =
4- BETA_APP = # boolean: if true, app will only display if 'beta' is in the hostname
54BOT_USER_ID = # ID of user used to create automated jobs
65DATABASE_PASSWORD = upswyng123
76DATABASE_SESSION_SECRET = secret formula
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ interface TAppOptions {
2323 dev : boolean ; // start server in development mode
2424 grantConfig : Record < string , any > ; // see https://github.com/simov/grant#configuration
2525 sessionSecret : string ;
26- beta ?: boolean ; // if true, only requests from host `beta.upswyng.*` will go to the app; otherwise a placeholder is shown
2726}
2827
2928export default function ( options : TAppOptions ) {
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ mongoose
9696 grantConfig,
9797 mongooseConnection : mongoose . connection ,
9898 sessionSecret : process . env . DATABASE_SESSION_SECRET || "default_secret" ,
99- beta : process . env . BETA && process . env . BETA . toLowerCase ( ) === "true" ,
10099 } ) ;
101100
102101 if ( ! appInstance ) {
You can’t perform that action at this time.
0 commit comments