summaryrefslogtreecommitdiff
path: root/src/node/hooks
diff options
context:
space:
mode:
authorJohn McLear <john@mclear.co.uk>2014-12-31 13:32:09 +0000
committerJohn McLear <john@mclear.co.uk>2014-12-31 13:32:09 +0000
commit036b7d28902f768e056013ff87dc1da2b6d4c8a1 (patch)
treef05b88a8859db302952793d61f94f9824f4d08c2 /src/node/hooks
parent4b6df17e99cb099425a466bee12b15f0751bf3fd (diff)
parenta07d1722fc6532d5497bccac63f9196717ebce34 (diff)
downloadetherpad-lite-036b7d28902f768e056013ff87dc1da2b6d4c8a1.zip
Merge pull request #2418 from ether/etherpad-export-and-import
Full Pad portability (Export/Import)
Diffstat (limited to 'src/node/hooks')
-rw-r--r--src/node/hooks/express/importexport.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/hooks/express/importexport.js b/src/node/hooks/express/importexport.js
index 378e8865..f3f05163 100644
--- a/src/node/hooks/express/importexport.js
+++ b/src/node/hooks/express/importexport.js
@@ -5,7 +5,7 @@ var importHandler = require('../../handler/ImportHandler');
exports.expressCreateServer = function (hook_name, args, cb) {
args.app.get('/p/:pad/:rev?/export/:type', function(req, res, next) {
- var types = ["pdf", "doc", "txt", "html", "odt"];
+ var types = ["pdf", "doc", "txt", "html", "odt", "etherpad"];
//send a 404 if we don't support this filetype
if (types.indexOf(req.params.type) == -1) {
next();