Skip to content

Commit

Permalink
feat: support clerk
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <tukon479@gmail.com>
  • Loading branch information
Innei committed Jun 15, 2023
1 parent aeaeacd commit d8a7538
Show file tree
Hide file tree
Showing 19 changed files with 1,425 additions and 70 deletions.
10 changes: 10 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ NEXT_PUBLIC_GATEWAY_URL=http://127.0.0.1:2333/
# NEXT_PUBLIC_GATEWAY_URL=http://192.168.31.195:2333
NEXT_PUBLIC_API_URL=https://innei.ren/api/v2
NEXT_PUBLIC_GATEWAY_URL=https://api.innei.ren

NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_cmVzb2x2ZWQtd2FydGhvZy0yNC5jbGVyay5hY2NvdW50cy5kZXYk

## Clerk
CLERK_SECRET_KEY=sk_test_***********8

NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let nextConfig = {
},
}

if (process.env.SENTRY === 'true' && isProd) {
if (env.SENTRY === 'true' && isProd) {
// @ts-expect-error
nextConfig = withSentryConfig(
nextConfig,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"last 2 Firefox versions"
],
"dependencies": {
"@clerk/nextjs": "4.21.1",
"@floating-ui/react-dom": "2.0.1",
"@formkit/auto-animate": "1.0.0-beta.6",
"@headlessui/react": "1.7.15",
Expand Down
Loading

1 comment on commit d8a7538

@vercel
Copy link

@vercel vercel bot commented on d8a7538 Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

springtide – ./

springtide-git-main-innei.vercel.app
springtide.vercel.app
springtide-innei.vercel.app

Please sign in to comment.