@@ -13,9 +13,9 @@ let bsConfig = {
|
|||||||
notify: false
|
notify: false
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof paths.proxy === 'string' && paths.proxy.length > 0) {
|
if (typeof paths.url === 'string' && paths.url.length > 0) {
|
||||||
// Use proxy
|
// Use proxy
|
||||||
bsConfig.proxy = paths.proxy;
|
bsConfig.proxy = paths.url;
|
||||||
} else {
|
} else {
|
||||||
// Use base directory
|
// Use base directory
|
||||||
bsConfig.server = { baseDir: paths.dest };
|
bsConfig.server = { baseDir: paths.dest };
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"proxy": "",
|
"url": "locomotive-boilerplate.test",
|
||||||
"src": "./assets/",
|
"src": "./assets/",
|
||||||
"dest": "./www/",
|
"dest": "./www/",
|
||||||
"build": "./build/",
|
"build": "./build/",
|
||||||
|
|||||||
Reference in New Issue
Block a user