Protecting Reddit API routes behind troddit login.
Preserved option to host without login.
New environment variables. Only necessary for authentication protected instances:
NEXT_PUBLIC_ACCEPT_EMAILS=<true or false, false by default>
NEXT_PUBLIC_FREE_ACCESS=<true or false, true by default>
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=/
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=<YOUR PUBLIC KEY>
CLERK_SECRET_KEY=<YOUR PRIVATE KEY>
Protecting Reddit API routes behind troddit login. Preserved option to host without login.
New environment variables. Only necessary for authentication protected instances: