mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
semi working requires browser refresh
This commit is contained in:
parent
565097efb4
commit
3773b6346b
7 changed files with 91 additions and 42 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue