Env

com.alecdorrington.server.config.Env
object Env

The application environment, populated from JVM system properties and environment variables alike.

Attributes

Experimental
true
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Env.type

Members list

Value members

Concrete fields

val ASSETS_DIR: Path

The root directory from which static assets are served.

The root directory from which static assets are served.

Attributes

val DEV_MODE: Boolean

Whether the server is running in development mode.

Whether the server is running in development mode.

Attributes

val HOST: String

The host the server binds to.

The host the server binds to.

Attributes

val NAME: String

The name of the application.

The name of the application.

Attributes

val PORT: Int

The port the server listens on.

The port the server listens on.

Attributes

val VERSION: String

The version of the application.

The version of the application.

Attributes