Skip to content

Commit

Permalink
feat(profile-pic): implemented change profile picture
Browse files Browse the repository at this point in the history
  • Loading branch information
King-Mikaelson committed Aug 12, 2024
1 parent 7dafe78 commit f45c6fd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/helpers/app-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
// 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')

0 comments on commit f45c6fd

Please sign in to comment.