chore: starter template
This commit is contained in:
6
packages/functions/src/config.ts
Normal file
6
packages/functions/src/config.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
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',
|
||||
}))
|
||||
Reference in New Issue
Block a user