diff --git a/backend/app/app.config.js b/backend/app/app.config.js index 245e8784..fbfce0c3 100644 --- a/backend/app/app.config.js +++ b/backend/app/app.config.js @@ -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"; diff --git a/backend/app/app.server.js b/backend/app/app.server.js index 61eff998..74bc11b0 100644 --- a/backend/app/app.server.js +++ b/backend/app/app.server.js @@ -12,7 +12,6 @@ import { setupAppAuth } from "./services/auth"; import { getRoomsSource, - getCustomStyle, getSessionConfig, getEnvironment, shouldEnforceSSL @@ -20,8 +19,6 @@ import { const app = express(); -app.locals.CUSTOM_STYLE = getCustomStyle(); - app.use(morgan("tiny")); app.use(cookieSession(getSessionConfig())); app.use(bodyParser.urlencoded({ extended: false }));