project:
  decorator:
    api:
      beforeHttp: ['loadDB', 'apiInput', 'apiRateLimit']
      afterHttp: apiOutput
      catchHttp: apiError

service:
  http:
    fn: $http
    port: .PORT/3000
    cors: true
    instance: 1
    static:
      - prefix: /static
        root: static
    context:
        id: master

  http2:
    fn: $http
    port: 5001
    cors: true
    context:
      id: branch

  cron:
    fn: $cron

http:
  login:
    path: /login
    cache: 200

cron:
  checkTime:
    time: "* * * * *"
