Files
starter-e2e-mrfd6t0x/packages/functions/src/config.ts
2026-07-10 22:04:38 +02:00

7 lines
216 B
TypeScript

import { pikkuConfig } from '../.pikku/pikku-types.gen.js'
export const createConfig = pikkuConfig(async () => ({
port: parseInt(process.env.API_PORT || '4003', 10),
hostname: process.env.HOST || '0.0.0.0',
}))