mirror of
https://github.com/chaos-zhu/easynode.git
synced 2026-10-07 16:18:31 +08:00
6 lines
267 B
JavaScript
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')
|