You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to serve a CRA which uses a custom domain and HTTPS through an .env file:
HOST=myapp.localhost
HTTPS=true
When running npm start it opens up in the browser at https://myapp.localhost but when running npx serve -s build it opens up at the standard http://localhost:5000, is there any way to get the same behaviour as with npm start when using serve?
Thank you!
The text was updated successfully, but these errors were encountered:
I'm trying to serve a CRA which uses a custom domain and HTTPS through an
.env
file:When running
npm start
it opens up in the browser athttps://myapp.localhost
but when runningnpx serve -s build
it opens up at the standardhttp://localhost:5000
, is there any way to get the same behaviour as withnpm start
when usingserve
?Thank you!
The text was updated successfully, but these errors were encountered: