Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into dev
This commit is contained in:
commit
6a2e4a4b70
|
@ -101,7 +101,7 @@ pipeline {
|
|||
steps {
|
||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||
sh 'docker-compose pull'
|
||||
sh 'docker-compose up -d --scale back=3'
|
||||
sh 'docker-compose up -d --scale back=2'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -112,7 +112,7 @@ pipeline {
|
|||
steps {
|
||||
withCredentials([dockerCert(credentialsId: 'docker', variable: 'DOCKER_CERT_PATH')]) {
|
||||
sh 'docker-compose pull'
|
||||
sh 'docker-compose up -d --scale back=3'
|
||||
sh 'docker-compose up -d --scale back=2'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
upstream back {
|
||||
server back_1:3000;
|
||||
server back_2:3000;
|
||||
server back_3:3000;
|
||||
}
|
||||
server {
|
||||
listen 80 default_server;
|
||||
|
|
|
@ -16,7 +16,6 @@ module.exports = app => {
|
|||
|
||||
app.get(`/api/report/${name}`, (request, response, next) => {
|
||||
reportEngine.toPdf(name, request).then(stream => {
|
||||
response.setHeader('Content-Disposition', `attachment; filename="${name}.pdf"`);
|
||||
response.setHeader('Content-type', 'application/pdf');
|
||||
stream.pipe(response);
|
||||
}).catch(e => {
|
||||
|
|
Loading…
Reference in New Issue