Merge branch 'preprod'

This commit is contained in:
Vins 2023-09-26 16:10:55 +02:00
commit ae37ca12df
4 changed files with 4 additions and 7 deletions

View File

@ -30,7 +30,7 @@ lecoffreBack:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
env:
- key: .env
scwID: "id:2be9510b-bb1f-4fbe-ab3e-3dc11fb49051"
scwID: "id:430001f8-68ab-47b2-92e8-38024c35a80d"
lecoffreCron:
serviceAccountName: lecoffre-cron-sa
@ -50,5 +50,5 @@ lecoffreCron:
# key is name of the environment variable, scwID is the secret ID in SCW with "id:" in front
env:
- key: .env
scwID: "id:2be9510b-bb1f-4fbe-ab3e-3dc11fb49051"
scwID: "id:430001f8-68ab-47b2-92e8-38024c35a80d"

View File

@ -1,6 +1,6 @@
dockerPullSecret: docker-pull-secret
scwSecretKey: 59bcf27d-bee3-4d14-8b4d-03fd6a8be6cd
scwSecretKey: AgChoEnPitXp4Ny/rVMEcevaWKNVpyj2cJYAcq+yFqKwVwnLB+ffDvwqz9XBHu+6d4Nyyjkf37zUAMoaM21lEDWA7x3zfG2/D/j+rvX1qxzZgLD0mjBk7fGElVm332I6JA83oInes8AMMYEDPLElzHnpKRb9KtkIP4NzgOcCeW0ijft3N7Vroez6LEHsBPCA1I9XjKSkGEDvrO0MhWX3iJOlfz+SPMfJAV7rPawOs0ZmohTHrPW8qIvGDn8HCzKyU8zRBoMt+Ogpf5pH4U3JryEFuqD61KAQgablAM8edPIvsgNno9HAEuC2QtRLYA9aUhuKdaKuS58c9P2E80PHWXIlbpFCg6EugQTgNfnYp+3qDUNz8edeCfapYLvF4s9eCMGyMsGnpDR8EDNOyuGy7Y3l7okX8Xqu464gMp9E+hX7bHkcD6a4xfyIgJcWxsku0tm1TH1dpn4M1UXRuyZZif8P08nuE6MTUL67sAR9J1lpn4lVEL4kflk0pP2tZ5ncgPQFafJrRz05krMb0eU5tb2H4gs7ao/LL6idWo8MM9K1yr8lIuT5x2WW5CX+RjA+i50ex114V6vX3PNP5oVyt+DynTUB9QmXzVm3oLfDc3Cae1uqh7X0CFd+xiztJBtg0VtJaD/xUJcuWfY4cV2lERo9fRrykltzlJqiXHO4nowt8OtN0BcViVV8NJhPhYFzyb4ympxpOlTjm3GETuT2TYhUqdgS9nzleEAbOmOHZdIO2COunPE=
lecoffreBack:
serviceAccountName: lecoffre-back-sa

View File

@ -56,6 +56,7 @@ export default class OfficeFoldersController extends ApiController {
const sortedHashes = [...folderHashes].sort();
const buffer = await this.secureService.download(sortedHashes);
response.setHeader('Content-Type', 'application/pdf');
this.httpSuccess(response, buffer);
} catch (error) {
this.httpInternalError(response, error);

View File

@ -100,9 +100,6 @@ export class BackendVariables {
@IsNotEmpty()
public readonly DOCAPOST_CONNECT_PROCESS_ID!: string;
@IsNotEmpty()
public readonly BACK_API_HOST!: string;
@IsNotEmpty()
public readonly DOCAPOST_APP_ID!: string;
@ -143,7 +140,6 @@ export class BackendVariables {
this.DOCAPOST_VERSION = process.env["DOCAPOST_VERSION"]!;
this.DOCAPOST_DOCUMENT_PROCESS_ID = process.env["DOCAPOST_DOCUMENT_PROCESS_ID"]!;
this.DOCAPOST_CONNECT_PROCESS_ID = process.env["DOCAPOST_CONNECT_PROCESS_ID"]!;
this.BACK_API_HOST = process.env["BACK_API_HOST"]!;
this.DOCAPOST_APP_ID = process.env["DOCAPOST_APP_ID"]!;
this.DOCAPOST_APP_PASSWORD = process.env["DOCAPOST_APP_PASSWORD"]!;