Fix proxy option for Browser Sync

This commit is contained in:
Bruno Alla 2021-12-24 13:35:47 +00:00
parent 0d8a91ebfe
commit 39e12c7428

View File

@ -142,7 +142,7 @@ function initBrowserSync() {
// https://www.browsersync.io/docs/options/#option-proxy
proxy: {
{%- if cookiecutter.use_docker == 'n' %}
proxy: '127.0.0.1:8000',
target: '127.0.0.1:8000',
{%- else %}
// https://www.browsersync.io/docs/options/#option-open
// Disable as it doesn't work from inside a container