Skip to content

config properties server properties public

GitHub Action edited this page Nov 7, 2024 · 6 revisions

Version

v1.2.1

public Type

object (public)

public Properties

Property Type Required Nullable Defined by
address string Optional cannot be null Config
cors object Optional cannot be null Config

address

address is the address of the server to listen on in the form of host:port.

See net.Dial for details of the address format.

address

  • is optional

  • cannot be null

address Type

string

cors

cors contains configuration options regarding Cross-Origin-Resource-Sharing.

cors

  • is optional

  • cannot be null

cors Type

object (cors)

Clone this wiki locally