mirror of
https://github.com/mikecao/umami.git
synced 2021-05-17 18:46:32 +03:00
Add environment variable for basePath.
This commit is contained in:
@@ -6,6 +6,7 @@ module.exports = {
|
|||||||
VERSION: pkg.version,
|
VERSION: pkg.version,
|
||||||
FORCE_SSL: !!process.env.FORCE_SSL,
|
FORCE_SSL: !!process.env.FORCE_SSL,
|
||||||
},
|
},
|
||||||
|
basePath: process.env.BASE_PATH,
|
||||||
webpack(config) {
|
webpack(config) {
|
||||||
config.module.rules.push({
|
config.module.rules.push({
|
||||||
test: /\.svg$/,
|
test: /\.svg$/,
|
||||||
@@ -28,6 +29,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
]
|
];
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user