-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (25 loc) · 1.05 KB
/
Copy path.env.example
File metadata and controls
29 lines (25 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Discord Bot Configuration
# Copy this file to .env and fill in your actual values
# Your Discord bot token from https://discord.com/developers/applications
DISCORD_TOKEN=your_bot_token_here
# OAuth2 Configuration for Web Admin Panel
# Get these from https://discord.com/developers/applications -> Your App -> OAuth2
# Required redirect URIs (add both in Discord Developer Portal):
# - http://localhost:8080/login/oauth2/code/discord (for development)
# - https://your-domain.com/login/oauth2/code/discord (for production)
DISCORD_CLIENT_ID=your_client_id_here
DISCORD_CLIENT_SECRET=your_client_secret_here
# Admin Panel URL Configuration
# Used for OAuth2 redirects, CORS, and shown in bot help command
# For development: http://localhost:3000
# For production: https://your-domain.com
ADMIN_PANEL_URL=http://localhost:3000
# Session Cookie Configuration
# For local development (HTTP without SSL):
# COOKIE_SECURE=false
# COOKIE_SAME_SITE=lax
# For production (HTTPS):
# COOKIE_SECURE=true
# COOKIE_SAME_SITE=strict
COOKIE_SECURE=false
COOKIE_SAME_SITE=lax