mirror of
https://github.com/foxhui/WebAI2API.git
synced 2026-06-16 21:03:59 +08:00
6 lines
234 B
JavaScript
6 lines
234 B
JavaScript
import { generateApiKey } from './security/apiKey.js';
|
|
|
|
console.log('>>> [GenAPIKey] 生成新的 API Key:');
|
|
console.log(generateApiKey());
|
|
console.log('\n>>> 请将此 Key 复制到 config.yaml 文件的 server.auth 字段中。');
|