Getting Invalid Host header even after setting public flag via cli

I am setting the --public flag a value

vue-cli-service serve --public https://c05ea922-0a36-43b9-a108-deed4
0ab16.ws-us02.gitpod.io

But it still shows error Invalid Host header in the browser.