0

I want to change default browsersync host from localhost:3000 to myapp.dev:8000.

I created a bs-config.js:

module.exports = {
    "port": 8000,
    "server": { "baseDir": "./" },
};

Port is changed to 8000, but I don't know how can I change the host. Can you help me?

CsKovari
  • 11
  • 2

1 Answers1

0

You should add proxy option to bs-config.

// Using a vhost-based url
proxy: "myapp.dev:8000"
Sasxa
  • 40,334
  • 16
  • 88
  • 102