Add production-ready SuperAdmin API features for tenants, SMS, servers, and plugins.
Includes mobile auth, get_user/get_version, SMS wallet parity endpoints, appearance backfill, and related Prisma migrations. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+15
-3
@@ -2,10 +2,22 @@ PORT=3001
|
||||
DATABASE_URL="file:./dev.db"
|
||||
JWT_SECRET="change-me-in-production-use-long-random-string"
|
||||
JWT_EXPIRES_IN="7d"
|
||||
CORS_ORIGIN="http://localhost:5173"
|
||||
SEED_ADMIN_EMAIL="admin@abshode.local"
|
||||
CORS_ORIGIN="http://localhost:5173,http://localhost:3100"
|
||||
# آدرس عمومی API برای ساخت URL لوگو (در پروداکشن دامنه HTTPS سوپرادمین)
|
||||
PUBLIC_API_URL="http://localhost:3001"
|
||||
|
||||
# مدیر پیشفرض (لاگین با موبایل)
|
||||
SEED_ADMIN_MOBILE="09128081392"
|
||||
SEED_ADMIN_PASSWORD="Admin@12345"
|
||||
SEED_ADMIN_NAME="Super Admin"
|
||||
SEED_ADMIN_FIRST_NAME="مدیر"
|
||||
SEED_ADMIN_LAST_NAME="اصلی"
|
||||
SEED_ADMIN_EMAIL="admin@abshode.local"
|
||||
|
||||
# اساماس رایگان مرکزی (همان createsms همکار/خانگی) — secret را فقط در .env واقعی بگذار
|
||||
CENTRAL_SMS_URL="http://185.231.112.101/api/createsms"
|
||||
CENTRAL_SMS_SECRET="replace-with-central-sms-secret"
|
||||
CENTRAL_SMS_HOST="superadmin"
|
||||
CENTRAL_SMS_PLATFORM="superadmin"
|
||||
|
||||
HAMKAR_DB_HOST=127.0.0.1
|
||||
HAMKAR_DB_PORT=3306
|
||||
|
||||
Reference in New Issue
Block a user