Commit f2f78da2 authored by Aral Balkan's avatar Aral Balkan
Browse files

Removed some log statements.

parent 2308331b
......@@ -40,18 +40,13 @@ app.use '/upload', multer {
# and isn’t intimidating when the user sees the URL for sharing.
#
uniqueName = uuid.v4() + '-' + Date.now()
# console.log 'Unique name = ' + uniqueName
shortUniqueName = shorthash.unique(uniqueName)
# console.log 'Short unique name = ' + shortUniqueName
return shortUniqueName
onFileUploadStart: (file) ->
#
# Run a few security checks before file upload starts.
#
# console.log file.fieldname + ' is about to start uploading…'
# console.log file
fieldnameIsWrong = (file.fieldname != 'video-message')
mimetypeIsWrong = (/^video.*/.test(file.mimetype) == false)
......@@ -84,8 +79,6 @@ app.get '/video/:videoName', (request, response) ->
videoHTML = videoTemplate.replace /\{\{VIDEO\}\}/g, request.params.videoName
# console.log videoHTML
response.send videoHTML
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment