Skip to content

Commit

Permalink
Remove unused config
Browse files Browse the repository at this point in the history
  • Loading branch information
hashtegner committed Apr 8, 2020
1 parent 621f006 commit f2cfb82
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions backend/app/app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ export function getRoomsSource() {
return roomsSource
}

export function getCustomStyle() {
const customStyle = process.env.CUSTOM_STYLE || "";

return customStyle;
}

export function shouldEnforceSSL() {
const enforceSSL = process.env.ENFORCE_SSL || "false";

Expand Down
3 changes: 0 additions & 3 deletions backend/app/app.server.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,13 @@ import { setupAppAuth } from "./services/auth";

import {
getRoomsSource,
getCustomStyle,
getSessionConfig,
getEnvironment,
shouldEnforceSSL
} from "./app.config";

const app = express();

app.locals.CUSTOM_STYLE = getCustomStyle();

app.use(morgan("tiny"));
app.use(cookieSession(getSessionConfig()));
app.use(bodyParser.urlencoded({ extended: false }));
Expand Down

0 comments on commit f2cfb82

Please sign in to comment.