From 3aa58f5663d145d6820f70e96fa19bc33a99dbba Mon Sep 17 00:00:00 2001 From: David Jay Date: Tue, 1 Nov 2016 14:44:17 -0700 Subject: [PATCH] Removing unused config and language files --- client/coral-embed-stream/dev-server.js | 12 ------------ client/coral-embed-stream/public/talk.config.json | 6 ------ 2 files changed, 18 deletions(-) delete mode 100644 client/coral-embed-stream/public/talk.config.json diff --git a/client/coral-embed-stream/dev-server.js b/client/coral-embed-stream/dev-server.js index b33d633fc..926033fda 100644 --- a/client/coral-embed-stream/dev-server.js +++ b/client/coral-embed-stream/dev-server.js @@ -23,22 +23,10 @@ app.use(require('webpack-dev-middleware')(compiler, { app.use(require('webpack-hot-middleware')(compiler, {log: () => {}})) -app.get('/talk.config.json', function (req, res) { - res.sendFile(path.join(__dirname, 'talk.config.json')) -}) - app.get('/default.css', function (req, res) { res.sendFile(path.join(__dirname, '/style/default.css')) }) -app.get('/translations/en.json', function (req, res) { - res.sendFile(path.join(__dirname, '..', 'coral-framework', 'i18n', 'translations', 'en.json')) -}) - -app.get('/translations/es.json', function (req, res) { - res.sendFile(path.join(__dirname, '..', 'coral-framework', 'i18n', 'translations', 'es.json')) -}) - app.get('*', function (req, res) { res.sendFile(path.join(__dirname, 'index.html')) }) diff --git a/client/coral-embed-stream/public/talk.config.json b/client/coral-embed-stream/public/talk.config.json deleted file mode 100644 index e88592f55..000000000 --- a/client/coral-embed-stream/public/talk.config.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "coralHost": "http://localhost:16180", - "notifLength": 4500, - "view": "comment_stream", - "query": "all" -}