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 fd1ef47 commit ea4882aCopy full SHA for ea4882a
lib/module.js
@@ -50,6 +50,8 @@ module.exports = function nuxtAxios (_moduleOptions) {
50
/* istanbul ignore if */
51
if (process.env.API_URL) {
52
options.baseURL = process.env.API_URL
53
+ } else {
54
+ process.env.API_URL = options.baseURL
55
}
56
57
0 commit comments