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.
1 parent d8a03bb commit b8a510eCopy full SHA for b8a510e
lib/plugin.js
@@ -180,8 +180,8 @@ const setupProgress = (axios) => {
180
export default (ctx, inject) => {
181
// baseURL
182
const baseURL = process.browser
183
- ? '<%= options.browserBaseURL %>'
184
- : (process.env._AXIOS_BASE_URL_ || '<%= options.baseURL %>')
+ ? '<%= options.browserBaseURL || '' %>'
+ : (process.env._AXIOS_BASE_URL_ || '<%= options.baseURL || '' %>')
185
186
// Create fresh objects for all default header scopes
187
// Axios creates only one which is shared across SSR requests!
0 commit comments