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

Commit 5fe49f4

Browse files
committed
Modified < Server.ts >
1 parent c33efd8 commit 5fe49f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import cors from "cors";
99
import compileSass from "node-sass-middleware";
1010
import methodOverride from "method-override";
1111
import log from "./Lib/Logger";
12-
import { PORT, Web_Title, MongoDB_URI, Session_Secret, DebugMode, ConfigMap } from "./Config"
12+
import { PORT, MongoDB_URI, Session_Secret, DebugMode, ConfigMap } from "./Config"
1313
import Auth from "./Passport/Auth";
1414
import MainRouter from "./Routers/Main";
1515
import MongodbEvent from "./Events/Mongodb";
@@ -77,7 +77,7 @@ server.use((req, res, next) => {
7777
res.locals.success = req.flash('success');
7878
res.locals.error = req.flash('error');
7979

80-
res.locals.title = Web_Title;
80+
res.locals.title = ConfigMap.get("title");
8181

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

0 commit comments

Comments
 (0)