From f45c6fd3eea540860c5824dc477e524bf0adfabf Mon Sep 17 00:00:00 2001 From: King-Mikaelson Date: Mon, 12 Aug 2024 07:29:23 +0100 Subject: [PATCH] feat(profile-pic): implemented change profile picture --- src/helpers/app-constants.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/helpers/app-constants.ts b/src/helpers/app-constants.ts index 48c256b3c..5caab41ea 100644 --- a/src/helpers/app-constants.ts +++ b/src/helpers/app-constants.ts @@ -2,5 +2,6 @@ import * as path from 'path'; export const MAX_PROFILE_PICTURE_SIZE = 2 * 1024 * 1024; export const VALID_UPLOADS_MIME_TYPES = ['image/jpeg', 'image/png']; -export const BASE_URL = "https://staging.api-nestjs.boilerplate.hng.tech"; -export const PROFILE_PHOTO_UPLOADS = path.join(__dirname, '..', '..', 'uploads') \ No newline at end of file +// export const BASE_URL = "https://staging.api-nestjs.boilerplate.hng.tech"; +export const BASE_URL = "http://localhost:3008"; +export const PROFILE_PHOTO_UPLOADS = path.join(__dirname, '..', 'uploads') \ No newline at end of file