mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-30 12:17:42 +03:00
15 lines
288 B
JavaScript
15 lines
288 B
JavaScript
import { LOG } from '@/helpers/log'
|
|
|
|
import generateHttpApiKey from './generate-http-api-key'
|
|
|
|
/**
|
|
* Execute the generating HTTP API key script
|
|
*/
|
|
;(async () => {
|
|
try {
|
|
await generateHttpApiKey()
|
|
} catch (e) {
|
|
LOG.error(`Failed to generate the HTTP API key: ${e}`)
|
|
}
|
|
})()
|