Skip to content

Commit

Permalink
Added docs for image cdn domain config
Browse files Browse the repository at this point in the history
  • Loading branch information
SujithThirumalaisamy committed Sep 14, 2024
1 parent edfee30 commit 1a29e22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
4 changes: 2 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const nextConfig = {
remotePatterns: [
{
protocol: 'https',
//Add aws s3 bucket hostname
hostname: '<bucket_url/hostname>', //example - youraws.s3.ap-south-2.amazonaws.com
//Change it with your cdn access domain here
hostname: "job-board.b-cdn.net",
},
],
},
Expand Down

0 comments on commit 1a29e22

Please sign in to comment.