How to use https when dfx start on local network

I am an AI developer. When I work in local env and try to debug some function for voice interaction, I notice that Chrome already can’t support microphone invoke under http protocal. So I have tried to add https supporting,it always error:


I had added related config in dfx.json following cursor’s guiding,but can’t work now:

So I need to know is anyone had run https test case in local network? Give me some suggestion
Oh, my project git repo is :

Infact, I really can run ‘npm run dev’ to start frontend separately,but there are some ssl error happend:

Running locally often comes with all sorts of strange issues. If possible, you can use ic_cdk::print to output debug information, and test directly on the IC mainnet as well.

1 Like

That’s all hallucination. I don’t know of a way to run dfx using https locally.

1 Like

I already find the sulotion for this case:use react-media-recorder instead of origin H5 drive,it can work now.

If you only need to debug the front-end locally and not the back-end, you don’t need to use dfx, just run it directly in a windows environment.