working with https in development?

Hey all, Been working with plasmo for all of 1 day, and like it so far. I am in test/dev mode right now, and want to work with a local https server. I found the following link on the React side to run npm with HTTPS=true, https://create-react-app.dev/docs/using-https-in-development/ so I run, HTTPS=true pnpm dev --verbose and my flask server runs, app.run(host='0.0.0.0', port=5282, ssl_context='adhoc') but I still seem to get CERT_INVALID errors. Is there something special I need to do with plasmo extensions to play nice to unknown certs with HTTPS?
Using HTTPS in Development | Create React App
Note: this feature is available with react-scripts@0.4.0 and higher.
1 Reply
lab
lab•16mo ago
That cert invalid error you're getting is on flask side - you need to self-sign your server to run it in https.
Want results from more Discord servers?
Add your server