Skip to content

Commit

Permalink
browsersync should default to HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler36 committed Sep 27, 2022
1 parent 2f155dd commit 14608a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
- [Basic usage](#basic-usage)
- [Problems](#problems)
- [Laravel-mix configuration](#laravel-mix-configuration)
- [TODO](#todo)

## Introduction

Expand Down Expand Up @@ -103,7 +102,7 @@ mix.js('resources/js/app.js', 'public/js')
```shell
ddev exec npm run watch
...
[Browsersync] Proxying: http://browsersync-demo.ddev.site
[Browsersync] Proxying: http://localhost:3000
[Browsersync] Access URLs:
---------------------------------------------------
Local: http://localhost:3000
Expand All @@ -113,8 +112,4 @@ ddev exec npm run watch

- Browsersync will be running at `https://browsersync-demo.ddev.site:3000`

## TODO

- Browsersync proxy HTTPS version

**Contributed and maintained by [tyler36](https://github.com/tyler36)**
4 changes: 2 additions & 2 deletions docker-compose.browsersync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ services:
expose:
- '3000'
environment:
- HTTP_EXPOSE=${DDEV_ROUTER_HTTP_PORT}:80,${DDEV_MAILHOG_PORT}:8025,3000:3000
- HTTPS_EXPOSE=${DDEV_ROUTER_HTTPS_PORT}:80,${DDEV_MAILHOG_HTTPS_PORT}:8025
- HTTP_EXPOSE=${DDEV_ROUTER_HTTP_PORT}:80,${DDEV_MAILHOG_PORT}:8025,3001:3000
- HTTPS_EXPOSE=${DDEV_ROUTER_HTTPS_PORT}:80,${DDEV_MAILHOG_HTTPS_PORT}:8025,3000:3000

0 comments on commit 14608a1

Please sign in to comment.