Skip to content

Commit ca4ec98

Browse files
committed
minio bucket fix
1 parent ba5a2fb commit ca4ec98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docker-compose.gitpod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ services:
151151
/usr/bin/mc config host add myminio http://minio:9000 ${MINIO_USERNAME} ${MINIO_PASSWORD};
152152
/usr/bin/mc rm -r --force myminio/${MINIO_BUCKETNAME};
153153
/usr/bin/mc mb myminio/${MINIO_BUCKETNAME};
154-
/usr/bin/mc policy set public myminio/${MINIO_BUCKETNAME};
154+
/usr/bin/mc anonymous set public myminio/${MINIO_BUCKETNAME};
155155
exit 0;
156156
"
157157

packages/form-manager/src/app.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ export class AppController {
269269
// console.log('sessionRes', sessionRes);
270270

271271
const minioClient: Client = new Minio.Client({
272-
endPoint: this.GITPOD_URL.slice(8),
272+
endPoint: "9000-"+this.GITPOD_URL.slice(8),
273273
useSSL: true,
274274
accessKey: this.configService.get('MINIO_USERNAME'),
275275
secretKey: this.configService.get('MINIO_PASSWORD')

0 commit comments

Comments
 (0)