Switched from static to dynamic variables

This commit is contained in:
Alex Rennie-Lis
2026-06-28 23:19:21 +01:00
parent db0a5696d6
commit bed8de789e
5 changed files with 5 additions and 5 deletions

View File

@@ -3,7 +3,7 @@ import { S3Client, ListObjectsV2Command, GetObjectCommand } from '@aws-sdk/clien
import { getSignedUrl } from '@aws-sdk/s3-request-presigner';
import {
B2_ENDPOINT, B2_REGION, B2_ACCESS_KEY_ID, B2_SECRET_ACCESS_KEY, B2_BUCKET_NAME
} from '$env/static/private';
} from '$env/dynamic/private';
const s3 = new S3Client({
endpoint: B2_ENDPOINT,