22 lines
437 B
TypeScript
22 lines
437 B
TypeScript
import { app } from '../src/index.ts'
|
|
import { config } from '../src/index.ts'
|
|
export {
|
|
app
|
|
}
|
|
|
|
// const res = await app.run({
|
|
// path: 'image-creator',
|
|
// key: 'create-task',
|
|
// })
|
|
|
|
// console.log('Route run result:', res)
|
|
|
|
|
|
// const res = await app.run({
|
|
// path: 'image-creator',
|
|
// key: 'batch-update-tags',
|
|
// })
|
|
|
|
// console.log('Route run result:', res)
|
|
|
|
console.log('typeof config.REDIS_PORT:', typeof config.REDIS_PORT); |