...
|
...
|
@@ -29,12 +29,11 @@ exports.index = (req, res, next) => { |
|
|
exports.main = (req, res, next) => {
|
|
|
const isReplay = /^\/live\/replay\//.test(req.path);
|
|
|
const id = req.params.id;
|
|
|
const goDownload = req.query.no;
|
|
|
|
|
|
res.locals.liveRoom = id;
|
|
|
res.locals.module = 'activity';
|
|
|
res.locals.page = 'live-play';
|
|
|
res.locals.enableFoot = goDownload !== 1;
|
|
|
res.locals.enableFoot = Number(req.query.no) !== 1;
|
|
|
|
|
|
model.fetchInfo(id, isReplay)
|
|
|
.then(result => {
|
...
|
...
|
|