Revert "proxy" back to "url" for BrowserSync

Amends 14d9f47fe0
This commit is contained in:
Chauncey McAskill
2021-09-16 13:54:49 -04:00
parent 4a5d821965
commit 0267bc6ebd
2 changed files with 3 additions and 3 deletions

View File

@@ -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 };

View File

@@ -1,5 +1,5 @@
{ {
"proxy": "", "url": "locomotive-boilerplate.test",
"src": "./assets/", "src": "./assets/",
"dest": "./www/", "dest": "./www/",
"build": "./build/", "build": "./build/",