Hi SDK team,
Thanks for the great work you have been pulling together with ICP Cli, it's getting top notch.
I was able to get a lot of things working (migrated fully from dfx), there is only one last thing I am noticing on a project of mine.
In it I frequently develop with ngrok to receive webhooks on my local and debug / develop with it.
On dfx you can do "dfx start --domain xyz.com" or on the dfx networks set up a proxy url.
On ICP Cli I understood it's meant to use the gateway host (or on connected networks, the url: field), but it's still not working.
My icp.yaml has:
networks:
- name: local
mode: managed
gateway:
host: "https://some-server-you-setup.ngrok-free.dev"
port: 8000
ii: true
And although the /_/dashboard works, the /?canisterId= or any other path, always gets:
I tried to debug with github copilot and it suspects it could be a hardcoded to "localhost" part here:
Could you check deeper and let me know if you can fix this feature?
Thanks 🙏