feat: admin user

This commit is contained in:
trafficlunar 2025-05-01 22:09:34 +01:00
parent b12ebb7ec2
commit 950a461fb1
5 changed files with 23 additions and 8 deletions

View file

@ -2,12 +2,13 @@ DATABASE_URL="postgresql://frieren:frieren@localhost:5432/tomodachi-share?schema
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
AUTH_SECRET=XXXXXXXXXXXXXXXX
AUTH_TRUST_HOST=true
AUTH_TRUST_HOST=true
AUTH_SECRET=XXXXXXXXXXXXXXXX
AUTH_DISCORD_ID=XXXXXXXXXXXXXXXX
AUTH_DISCORD_SECRET=XXXXXXXXXXXXXXXX
AUTH_GITHUB_ID=XXXXXXXXXXXXXXXX
AUTH_GITHUB_SECRET=XXXXXXXXXXXXXXXX
AUTH_GITHUB_SECRET=XXXXXXXXXXXXXXXX
NEXT_PUBLIC_ADMIN_USER_ID=1