diff --git a/.env.example b/.env.example index 787db83..ce1708c 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,11 @@ DATABASE_URL="postgresql://frieren:frieren@localhost:5432/tomodachi-share?schema=public" +# Used for rate limiting REDIS_URL="redis://localhost:6379/0" BASE_URL=https://tomodachi-share.trafficlunar.net -NEXTAUTH_URL=https://tomodachi-share.trafficlunar.net # This should be the same as BASE_URL +# Check Auth.js docs for information +AUTH_URL=https://tomodachi-share.trafficlunar.net # This should be the same as BASE_URL AUTH_TRUST_HOST=true AUTH_SECRET=XXXXXXXXXXXXXXXX AUTH_DISCORD_ID=XXXXXXXXXXXXXXXX @@ -11,4 +13,6 @@ AUTH_DISCORD_SECRET=XXXXXXXXXXXXXXXX AUTH_GITHUB_ID=XXXXXXXXXXXXXXXX AUTH_GITHUB_SECRET=XXXXXXXXXXXXXXXX -NEXT_PUBLIC_ADMIN_USER_ID=1 \ No newline at end of file +NEXT_PUBLIC_ADMIN_USER_ID=1 +# Separated by commas +NEXT_PUBLIC_CONTRIBUTORS_USER_IDS=176 \ No newline at end of file diff --git a/public/guest.webp b/public/guest.webp new file mode 100644 index 0000000..ce37848 Binary files /dev/null and b/public/guest.webp differ diff --git a/src/components/profile-information.tsx b/src/components/profile-information.tsx index b8028a5..6c59df7 100644 --- a/src/components/profile-information.tsx +++ b/src/components/profile-information.tsx @@ -25,7 +25,7 @@ export default async function ProfileInformation({ user: userData, createdAt, in