KovenServerConfig

Configuration for the KovenServer.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Whether to host static assets. Defaults to true.

Link copied to clipboard

The directory to host static assets from. Defaults to "assets".

Link copied to clipboard
var corsPolicy: CorsPolicy

The CORS policy to use. Defaults to CorsPolicy.UnsafeGlobalPermissive.

Link copied to clipboard

Whether to host user files. Defaults to true.

Link copied to clipboard

The directory to host user files from. Defaults to "files".

Link copied to clipboard
var port: Int

The port to listen on. Defaults to 8080.