From c0820473dcc1ef7a2a4e53feb7287040ccf024aa Mon Sep 17 00:00:00 2001 From: Kevin Godell Date: Fri, 16 Mar 2018 02:17:55 -0500 Subject: [PATCH] removed flv.js --- routes/assets.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/routes/assets.js b/routes/assets.js index d0a191e..5092f21 100644 --- a/routes/assets.js +++ b/routes/assets.js @@ -4,8 +4,8 @@ const express = require('express'); const router = express.Router(); const path = require('path'); -const flvMinJs = path.join(__dirname, '../node_modules/flv.js/dist/flv.min.js'); -const flvMinJsMap = path.join(__dirname, '../node_modules/flv.js/dist/flv.min.js.map'); +//const flvMinJs = path.join(__dirname, '../node_modules/flv.js/dist/flv.min.js'); +//const flvMinJsMap = path.join(__dirname, '../node_modules/flv.js/dist/flv.min.js.map'); const hlsMinJs = path.join(__dirname, '../node_modules/hls.js/dist/hls.min.js'); //const materialMinJs = path.join(__dirname, '../node_modules/material-design-lite/dist/material.min.js'); //const materialDeepOrangeBlueMinCss = path.join(__dirname, '../node_modules/material-design-lite/dist/material.deep_orange-blue.min.css'); @@ -15,13 +15,13 @@ router.get('/', (req, res) => { res.send('assets router'); }); -router.get('/flv.min.js', (req, res) => { +/*router.get('/flv.min.js', (req, res) => { res.sendFile(flvMinJs); }); router.get('/flv.min.js.map', (req, res) => { res.sendFile(flvMinJsMap); -}); +});*/ router.get('/hls.min.js', (req, res) => { res.sendFile(hlsMinJs);