mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
@@ -13,9 +13,9 @@ let bsConfig = {
|
||||
notify: false
|
||||
};
|
||||
|
||||
if (typeof paths.proxy === 'string' && paths.proxy.length > 0) {
|
||||
if (typeof paths.url === 'string' && paths.url.length > 0) {
|
||||
// Use proxy
|
||||
bsConfig.proxy = paths.proxy;
|
||||
bsConfig.proxy = paths.url;
|
||||
} else {
|
||||
// Use base directory
|
||||
bsConfig.server = { baseDir: paths.dest };
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"proxy": "",
|
||||
"url": "locomotive-boilerplate.test",
|
||||
"src": "./assets/",
|
||||
"dest": "./www/",
|
||||
"build": "./build/",
|
||||
|
||||
Reference in New Issue
Block a user