Skip to content

Commit

Permalink
fix: access-url 포멧 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yangchef1 committed Nov 27, 2024
1 parent cbb4a8e commit e54d9f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/server/src/image/service/image.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class ImageService {
}

async getAccessUrl(id: number, key: string) {
const accessUrl = `https://${process.env.OBJECT_STORAGE_BUCKET_NAME}.${process.env.OBJECT_STORAGE_REGION}.ncloudstorage.com/${key}`;
const accessUrl = `https://${process.env.OBJECT_STORAGE_ENDPOINT}/${process.env.OBJECT_BUCKET_NAME}/${key}`;
await this.userService.updateProfileImage(id, accessUrl);
return new AccessUrlResponse(accessUrl);
}
Expand Down

0 comments on commit e54d9f9

Please sign in to comment.