mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 18:49:28 +08:00
Removing unused config and language files
This commit is contained in:
@@ -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'))
|
||||
})
|
||||
|
||||
@@ -1,6 +0,0 @@
|
||||
{
|
||||
"coralHost": "http://localhost:16180",
|
||||
"notifLength": 4500,
|
||||
"view": "comment_stream",
|
||||
"query": "all"
|
||||
}
|
||||
Reference in New Issue
Block a user