Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Commit

Permalink
Modified < Server.ts >
Browse files Browse the repository at this point in the history
  • Loading branch information
Tolfx committed Jul 26, 2021
1 parent c33efd8 commit 5fe49f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import cors from "cors";
import compileSass from "node-sass-middleware";
import methodOverride from "method-override";
import log from "./Lib/Logger";
import { PORT, Web_Title, MongoDB_URI, Session_Secret, DebugMode, ConfigMap } from "./Config"
import { PORT, MongoDB_URI, Session_Secret, DebugMode, ConfigMap } from "./Config"
import Auth from "./Passport/Auth";
import MainRouter from "./Routers/Main";
import MongodbEvent from "./Events/Mongodb";
Expand Down Expand Up @@ -77,7 +77,7 @@ server.use((req, res, next) => {
res.locals.success = req.flash('success');
res.locals.error = req.flash('error');

res.locals.title = Web_Title;
res.locals.title = ConfigMap.get("title");

res.locals.isAuth = req.isAuthenticated();

Expand Down

0 comments on commit 5fe49f4

Please sign in to comment.