Skip to content

Commit 2803e5e

Browse files
committed
fix: certs should go into main folder tmp
1 parent a1cc95f commit 2803e5e

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ yarn-error.log*
4242
*.env.*
4343

4444
*.dev.yml
45-
45+
tmp

scripts/setup-ssl-certs.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable no-console */
22
import { writeFileSync, mkdirSync } from 'node:fs';
33
import { join } from 'node:path';
4-
import { tmpdir } from 'node:os';
54

65
/**
76
* Setup SSL certificates from base64-encoded environment variables
@@ -19,7 +18,7 @@ const setupSSLCerts = () => {
1918
}
2019

2120
// Create a temporary directory for certificates
22-
const certDir = join(tmpdir(), 'postgresql-certs');
21+
const certDir = 'tmp/postgresql-certs';
2322

2423
try {
2524
mkdirSync(certDir, { recursive: true });

0 commit comments

Comments
 (0)