Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removes remaining references to beta #480

Merged
merged 1 commit into from
Jun 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/server/.env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
ALGOLIA_APP_ID=
ALGOLIA_INDEX_NAME=
ALGOLIA_WRITE_API_KEY=
BETA_APP= # boolean: if true, app will only display if 'beta' is in the hostname
BOT_USER_ID= # ID of user used to create automated jobs
DATABASE_PASSWORD=upswyng123
DATABASE_SESSION_SECRET=secret formula
Expand Down
1 change: 0 additions & 1 deletion packages/server/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ interface TAppOptions {
dev: boolean; // start server in development mode
grantConfig: Record<string, any>; // see https://github.com/simov/grant#configuration
sessionSecret: string;
beta?: boolean; // if true, only requests from host `beta.upswyng.*` will go to the app; otherwise a placeholder is shown
}

export default function(options: TAppOptions) {
Expand Down
1 change: 0 additions & 1 deletion packages/server/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ mongoose
grantConfig,
mongooseConnection: mongoose.connection,
sessionSecret: process.env.DATABASE_SESSION_SECRET || "default_secret",
beta: process.env.BETA && process.env.BETA.toLowerCase() === "true",
});

if (!appInstance) {
Expand Down