mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
This may fixes the pdf convert issue
This commit is contained in:
parent
7296913cb0
commit
932ad0eeeb
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ exports.doImport = function(req, res, padId)
|
||||||
//this allows us to accept source code files like .c or .java
|
//this allows us to accept source code files like .c or .java
|
||||||
function(callback)
|
function(callback)
|
||||||
{
|
{
|
||||||
var fileEnding = srcFile.split(".")[1];
|
var fileEnding = srcFile.split(".")[1].toLowerCase();
|
||||||
var knownFileEndings = ["txt", "doc", "docx", "pdf", "odt", "html", "htm"];
|
var knownFileEndings = ["txt", "doc", "docx", "pdf", "odt", "html", "htm"];
|
||||||
|
|
||||||
//find out if this is a known file ending
|
//find out if this is a known file ending
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue