There was an error while loading. Please reload this page.
1 parent 6c5605d commit 18afe5cCopy full SHA for 18afe5c
1 file changed
lib/module.js
@@ -53,7 +53,7 @@ function axiosModule (_moduleOptions) {
53
// Apply defaults
54
const options = defu(moduleOptions, {
55
baseURL: `http://${defaultHost}:${defaultPort}${prefix}`,
56
- browserBaseURL: null,
+ browserBaseURL: undefined,
57
credentials: false,
58
debug: false,
59
progress: true,
@@ -78,7 +78,7 @@ function axiosModule (_moduleOptions) {
78
}
79
80
// Default browserBaseURL
81
- if (!options.browserBaseURL) {
+ if (typeof options.browserBaseURL === 'undefined') {
82
options.browserBaseURL = options.proxy ? prefix : options.baseURL
83
84
0 commit comments