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