Files
easynode/server/index.js
T
2026-07-14 17:47:20 +08:00

6 lines
267 B
JavaScript

// AES-256-CBC requires a 32-byte key. Keep the random bytes as a Buffer;
// converting them to hex produces a 64-character value and breaks RDP token encryption.
global.rpdToken = require('crypto').randomBytes(32)
require('dotenv').config()
require('./app/main.js')