Skip to content

Commit 79f780a

Browse files
committed
finish functionality
1 parent c093fb0 commit 79f780a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

middlewares/custom/customBranding.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ async function customBranding(req, res, next){
88
res.locals.adsenseOn = Boolean(process.env.ADSENSE_ID);
99
res.locals.adsenseId = process.env.ADSENSE_ID;
1010
res.locals.uploadServer = uploadServer;
11+
res.locals.optionalHeaderOn = process.env.OPTIONAL_HEADER_ON === 'true';
12+
1113

1214
next();
1315
}

0 commit comments

Comments
 (0)