Skip to content

Commit 1884037

Browse files
authored
removes remaining references to beta (#480)
1 parent 50888ee commit 1884037

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

packages/server/.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
ALGOLIA_APP_ID=
22
ALGOLIA_INDEX_NAME=
33
ALGOLIA_WRITE_API_KEY=
4-
BETA_APP= # boolean: if true, app will only display if 'beta' is in the hostname
54
BOT_USER_ID= # ID of user used to create automated jobs
65
DATABASE_PASSWORD=upswyng123
76
DATABASE_SESSION_SECRET=secret formula

packages/server/src/app.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

2928
export default function(options: TAppOptions) {

packages/server/src/server.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)