Skip to content

--web --https does not start web dev server with https #26706

Open
@acdoussan

Description

@acdoussan

Summary

expo start --web --https with the current default implementation of npx create-expo-app --template (chose typscript with routing) does not start a web dev server with https, it stays http.

What platform(s) does this occur on?

Web

SDK Version

"expo": "~50.0.3",

Environment

expo-env-info 1.2.0 environment info:
System:
OS: Linux 5.10 Amazon Linux 2
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.20.1 - ~/.nvm/versions/node/v16.20.1/bin/node
npm: 8.19.4 - ~/.nvm/versions/node/v16.20.1/bin/npm
npmPackages:
expo: ~50.0.3 => 50.0.3
expo-router: ~3.4.5 => 3.4.5
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.73.2 => 0.73.2
react-native-web: ~0.19.6 => 0.19.10
Expo Workflow: managed

Minimal reproducible example

  • npx create-expo-app --template (chose typscript with routing)
  • update the web script to be "web": "expo start --web --https",
  • npm start web
  • get a web dev server of http://localhost:8081(wrong) instead of https://localhost:8081 (expected)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIVersioned Expo CLI -- `npx expo start`Issue accepted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions