Skip to content

Commit

Permalink
BUG: Soluciona error en l'enviament de vídeos (#144)
Browse files Browse the repository at this point in the history
* solucionat

* Update rest_requests.js
  • Loading branch information
Masclins committed May 16, 2018
1 parent f70611c commit 858f03a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

backend/__pycache__/*
backend/*/__pycache__/*
backend/dades_mysql.json

frontend/node_modules
frontend/package-lock.json
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/rest_requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ module.exports = {
+ "<br><br>Qui ha enviat aquest vídeo confirma que és l'autor del vídeo, l'únic que hi surt i té 18 anys o més."
+ "<br> També, ha acceptat les Condicions d'ús i Política de privadesa adjuntes en aquest correu.",
attachments: [{filename: req.body.paraula + ".mp4", path: "/video_tmp.mp4"},
{filename: "Condicions d'ús", path: "/views/termes.ejs"},
{filename: "Política de privadesa", path: "/views/privadesa.ejs"}]
{filename: "Condicions d'ús", path: process.cwd() + "/views/termes.ejs"},
{filename: "Política de privadesa", path: process.cwd() + "/views/privadesa.ejs"}]
};

transporter.sendMail(mailOptions, function(error) {
Expand Down

0 comments on commit 858f03a

Please sign in to comment.