-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add next-auth * docs: update env.example * test: fix tests * fix: fix next-auth error
- Loading branch information
Showing
12 changed files
with
1,092 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
# Duplicate this to .env.local | ||
|
||
NEXT_PUBLIC_SITE_URL='https://example.com' | ||
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION_ID='xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' | ||
NEXT_PUBLIC_SITE_URL='your site url' | ||
|
||
NEXT_PUBLIC_GOOGLE_SITE_VERIFICATION_ID='your google site verification ID' | ||
|
||
NEXT_PUBLIC_GITHUB_ID='your github client ID' | ||
NEXT_PUBLIC_GITHUB_SECRET='your github secret ID' | ||
|
||
NEXTAUTH_SECRET='your next-auth secret' | ||
## Only required for localhost | ||
NEXTAUTH_URL='http://localhost:3000' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,13 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = {}; | ||
const nextConfig = { | ||
images: { | ||
remotePatterns: [ | ||
{ | ||
protocol: 'https', | ||
hostname: 'avatars.githubusercontent.com', | ||
}, | ||
], | ||
}, | ||
}; | ||
|
||
module.exports = nextConfig; |
Oops, something went wrong.