diff --git a/README.md b/README.md index a1621ee7..0590f3e1 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,9 @@ Follow these steps to set up the repository locally and run it. CDN_BASE_ACCESS_URL=https://job-board.b-cdn.net/assets ``` -2. To generate AUTH_SECRET, +2. Change the hostname in `next.config.js` with your CDN access hostname by Ref of provided example. + +3. To generate AUTH_SECRET, Run this command in your terminal: diff --git a/next.config.js b/next.config.js index 8e2fe13f..c50f9feb 100644 --- a/next.config.js +++ b/next.config.js @@ -10,8 +10,8 @@ const nextConfig = { remotePatterns: [ { protocol: 'https', - //Add aws s3 bucket hostname - hostname: '', //example - youraws.s3.ap-south-2.amazonaws.com + //Change it with your cdn access domain here + hostname: "job-board.b-cdn.net", }, ], },