Add s3 endpoint as preload

This commit is contained in:
2025-08-02 01:18:37 +02:00
parent 7d974a857c
commit facb07de5b
5 changed files with 19 additions and 8 deletions
+5 -2
View File
@@ -2,8 +2,11 @@ import { Client } from 'minio';
// TODO: add docker secret parsing
export const { s3Bucket, s3Host, s3AccessKey, s3SecretKey } =
useRuntimeConfig();
export const {
public: { s3Bucket, s3Host },
s3AccessKey,
s3SecretKey
} = useRuntimeConfig();
export const minioClient = new Client({
endPoint: s3Host,