1.0.1 • Published 6 years ago

@kastra/koa-next-app v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
6 years ago

koa-next-app

Uses the following environment variables: NODE_ENV: If set to "development", enables HMR in Next. If set to "production", will serve the pre-built Next.js app. APP_NAME: The name of the app in console logs. Defaults to koa-next-app. PORT: The port to serve the app on. Defaults to 8080. TLS: If this is defined, app will be served using HTTPS instead of HTTP using the next three environment variables. TLS_CA: The certificate authorities from which client certificates should be accepted. TLS_CERT: The server's public certificate. TLS_KEY: The server's private key. SECRET_CURRENT: Passed to the Koa app's KeyGrip constructor as the first element of an array of keys. SECRET_PREVIOUS: Passed to the Koa app's KeyGrip constructor as the second element of an array of keys.