Skip to content

Options

Nioxed edited this page Feb 21, 2019 · 2 revisions

Options

The options are used to initialize the HTTP server used to receive the data. You're suppose to supply this whenever you initiate gmusic-api

const Options = {
	host: '127.0.0.1', 	// This is the host supplied to the HTTP server.
	port: 3000,			// This is the port supplied to the HTTP server.
}

The default options are sufficient in 99% of use cases, unless you're running this on a server or something you shouldn't have to change anything :)

Clone this wiki locally