Solved

Shopify cli not showing tunnel url in the console

goreya
Shopify Partner
3 1 0

Shopify cli command npm run dev used to output the tunnel url however it is no longer outputting the tunnel url. Is there any way to find out the tunnel url, need this for app proxy when developing locally.

Accepted Solution (1)

goreya
Shopify Partner
3 1 0

This is an accepted solution.

I've found where the tunnel url is. Cli writes the url in shopify.app.toml file in the project folder.

View solution in original post

Replies 3 (3)

BrainStation23
Shopify Partner
344 54 52

hi @goreya ,

You can manually set the tunnel url using the --tunnel-url flag while running a Shopify app using the CLI. 
the command should look like this

shopify app dev --tunnel-url <tunnel-url>:<PORT>

Brain Station 23 PLC
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
Email: js.team@brainstation-23.com
goreya
Shopify Partner
3 1 0

hi @BrainStation23 

Thanks for replying. I am not using an external tunnel (cloudflare or ngrok). I've found where the cli is writing the tunnel url that it generates.

goreya
Shopify Partner
3 1 0

This is an accepted solution.

I've found where the tunnel url is. Cli writes the url in shopify.app.toml file in the project folder.