We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
server
1 parent 4583988 commit e1120a9Copy full SHA for e1120a9
lib/module.js
@@ -13,6 +13,7 @@ function axiosModule(_moduleOptions) {
13
moduleOptions.port ||
14
process.env.PORT ||
15
process.env.npm_package_config_nuxt_port ||
16
+ (this.options.server && this.options.server.port) ||
17
3000
18
19
// Default host
@@ -21,6 +22,7 @@ function axiosModule(_moduleOptions) {
21
22
moduleOptions.host ||
23
process.env.HOST ||
24
process.env.npm_package_config_nuxt_host ||
25
+ (this.options.server && this.options.server.host) ||
26
'localhost'
27
28
/* istanbul ignore if */
0 commit comments