mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
Fix proxy option for Browser Sync
This commit is contained in:
parent
0d8a91ebfe
commit
39e12c7428
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user