forked from DebaucheryLibrarian/traxxx
Added analytics configuration.
This commit is contained in:
@@ -151,6 +151,7 @@ async function initServer() {
|
||||
|
||||
router.get('*', (req, res) => {
|
||||
res.render(path.join(__dirname, '../../assets/index.ejs'), {
|
||||
analytics: config.analytics,
|
||||
env: JSON.stringify({
|
||||
sfw: !!req.headers.sfw || Object.prototype.hasOwnProperty.call(req.query, 'sfw'),
|
||||
login: config.auth.login,
|
||||
|
||||
Reference in New Issue
Block a user